The AD6LoWPAN and ADRadioNet solutions use the following UART packet format:.
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.
Value in Hex
Length in bytes
1 byte length+(1*string length) + 1 byte NULL
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?