Samraksh eMote .NOW
Send(UInt16,PayloadType,Byte[],UInt16,UInt16,DateTime) Method



Address of receiver
PayloadType to be sent
payload to be sent
offset if any in the byte array
size of the _packet
Time to use for timestamp
Send a time stamped _packet. Time stamp is specified as a parameter
Syntax
'Declaration
 
Public Overloads Function Send( _
   ByVal address As UShort, _
   ByVal payloadType As PayloadType, _
   ByVal payload() As Byte, _
   ByVal offset As UShort, _
   ByVal size As UShort, _
   ByVal eventTime As Date _
) As NetOpStatus
'Usage
 
Dim instance As MACBase
Dim address As UShort
Dim payloadType As PayloadType
Dim payload() As Byte
Dim offset As UShort
Dim size As UShort
Dim eventTime As Date
Dim value As NetOpStatus
 
value = instance.Send(address, payloadType, payload, offset, size, eventTime)

Parameters

address
Address of receiver
payloadType
PayloadType to be sent
payload
payload to be sent
offset
offset if any in the byte array
size
size of the _packet
eventTime
Time to use for timestamp

Return Value

Status of operation
Requirements

Target Platforms: eMote .NOW

See Also

Reference

MACBase Class
MACBase Members
Overload List

Send Feedback