Description

The XBee Wi-Sun device uses this frame when it receives RF data on the specified socket. This frame is sent only for UDP sockets that have not used a Socket Connect - 0x42 to connect, providing addressing information about the source.

Format

The following table provides the contents of the frame. For details on frame structure, see API Frames.

Offset Size Frame Field Description

0

8-bit

Start Delimiter

Indicates the start of an API frame.

1

16-bit

Length

Number of bytes between the length and checksum.

3

8-bit

Frame type

0xCB

4

8-bit

Reserved

Reserved, should always be 0.

5

8-bit

Socket ID

ID of the UDP listening socket on which data was received.

6

128-bit

Source IPv6 Address

Specifies the IPv6 address of the sending device

22

16-bit

Source port

Specifies the port used on the sending device.

24

8-bit

Reserved

Reserved, should always be 0.

25

variable

Payload

Data received.

EOF

8-bit

Checksum

0xFF minus the 8-bit sum of bytes from offset 3 to this byte (between length and checksum).