FAQ: Packet format used in AD6LoWPAN & ADRadioNet software

Document created by NagarjunaG Employee on Nov 25, 2015Last modified by NagarjunaG Employee on Nov 25, 2015
Version 2Show Document
  • View in full screen mode

The AD6LoWPAN and ADRadioNet solutions use the following UART packet format:.

UART-Pkt-Format.png

Each and every component in the Sensor Data is associated with a mark byte to define the length and type of the variable as shown below.


Mark Tag

Value in Hex

Length in bytes

STR_MARK(string )

0x73

1 byte length+(1*string length) + 1 byte NULL

LONG_MARK

0x6C

4

SINGLE_MARK

0x66

4

INT_MARK

0x69

2

BYTE_MARK

0x63

1

BYTEARY_MARK

0x61

1 byte length +(1* size of array)

 

Following is a related and very useful FAQ:

FAQ: How to handle different types of sensors used in WSN solution?

Attachments

Outcomes