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



The address of the receiver. Use Addresses.BROADCAST for broadcast
PayloadType to be sent
Byte array containing the payload to be sent
The first byte in the array to send. Normally 0
The number of bytes to send
Send a _packet
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 _
) 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 value As NetOpStatus
 
value = instance.Send(address, payloadType, payload, offset, size)

Parameters

address
The address of the receiver. Use Addresses.BROADCAST for broadcast
payloadType
PayloadType to be sent
payload
Byte array containing the payload to be sent
offset
The first byte in the array to send. Normally 0
size
The number of bytes to send

Return Value

Status of operation
Requirements

Target Platforms: eMote .NOW

See Also

Reference

MACBase Class
MACBase Members
Overload List

Send Feedback