Need packet format for EV-ADRN-WSN-1Z EVAL board software

I have a customer using the EV-ADRN-WSN-1Z.  They asked the following question:

Please send me the packet structure breakdown for EV-ADRN-WSN-1Z Evaluation Kit, which includes start and stop bytes for the message.  The packet structure breakdown would show where the data exists for x,y,z axis, etc.

  • Hi Lionelwallace,

     

    The EV-ADRN-WSN-1Z is used with two WSN solutions ADRadioNet and AD6LoWPAN. These solutions can be downloaded from the following link.


    http://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/Eval-wsn.html#eb-overview

    Both the solutions use the similar UART packet format. The packet format including the start and stop byes is listed below.

    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)

    The information on the packet structure break down and how to identify the sensor information from the packet is provided along with the example in the following link.

    https://ez.analog.com/docs/DOC-12593?sr=stream&ru=118134

    Hope the above information helps.

    Thanks,

    Harish

  • Thanks Harish.  I really appreciate your prompt response!

  • Here is a follow up question from the customer:

    I am looking at the data and I am not seeing the sensor mask, humidity, or Y,  Z axis (I am referencing the packet format png sent above).  Does this have to be configured to be queried?

    Here is the breakdown of how I am seeing the packet:

    Message (72bytes)  from 00:05:F7:FF:FE:00:00:00  <9:35:38 AM>

    48 00 0F 00 64 D0 0A 1F CB

    00 00 0F 00 05 F7 FF FE 00 00 00 BE 6C 5C 56 0B 04

    66 6F 1E C3 41 66 B5 4F 29 42 53 6C 29 00 00 00 6C 00 00 00 00 69 62 00 69 4A 00 69 01 00 69 00 00 63 00 63 D4 63 64 63 00 63 AB 69 00 00

    4A 43 4E 4A  - UART

    48 00 0F 00 64 D0 0A 1F CB – LLH

    00 00 0F 00 05 F7 FF FE 00 00 00 BE 6C 5C 56 0B 04 - MH

    66 6F 1E C3 41 – Temp

    66 B5 4F 29 42 –  I assume X Axis according to the structure designated by the image

    53 – statistics

    6C 29 00 00 00 – total   messages

    6C 00 00 00 00 – failed messages

    69 62 00 time

    69 4A 00 – tx duration

    69 01 00 – rx duration

    69 00 00 – CCA failed messaged

    63 00 – channel

    63 D4 – rssi

    63 64 transmit power

    63 00 – rx repeats

    63 AB – CCA threshold

    69 00 00 – battery voltage

    3D 7C - CRC

  • Hi Lionelwallace,


    Need some clarity regarding the software and hardware used. I assume the hardware used is EV-ADRN-WSN-1Z (Bunch Board) and the software used is ADRadioNet Software for ADuCRF101.

    From the above packet what you have posted, I suspect the software used is not the latest version (in the ADRadioNet Rev 2.0 and above the sensor mask has been included). Please download the latest version of the ADRadioNet(Rev 2.0.1) software and flash the boards with prebuilt binaries provided with the package. The latest version can be downloaded from the following link.

    http://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/Eval-wsn.html#eb-overview

    Please download the latest version (Rev.2.0.1) from the current release as marked below

    Any queries on how to flash the boards and demo setup, please refer to “ADRN02-All-in-One-GettingStartedGuide-v2.0.1” provided in the Docs folder of the package.

    thanks,

    Harish