Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Optical Sensing
    • Precision Technology Signal Chains
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Webinar Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Buffers and Fan Out
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

     

    How To Design Fieldbus Agnostic Smart Factory Sensors

     

    You Passed EMC Testing… But Wait, Is There More?

    Latest Blogs

    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    • Meet the Person Behind the Quizzes
    • Updates Required: Why Newer is Better
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
ADRadioNet Reference Library
  • Wireless Sensor Networks Reference Library
ADRadioNet Reference Library
Documents FAQ: Payload in ADRadioNet protocol
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • ADRadioNet for ADuCRF101
  • ADuCRF101 demodulation principle?
  • ADuCRF101 Shows up as "Unknown Device" in ADRadioNet when i click "Find Devices"
  • advantges and disadvantages between the EV-ADRN-WSN-1Z and EV-ADRN WSN-2Z?
  • Are the devices in the evaluation kit programmed and configured before hand
  • can't find the flash programmer tool in the ADRadioNet package
  • Default configuration settings in the evaluation demo
  • Dose ADI have detailed document for ADradioNet?
  • EVAL-ADF7XXXMB4Z Gerber file
  • EVAL-ADUCRF101 add sensor
  • FCC Certification
  • -Frequently Asked Q's
    • Data Dissemination in Downward Path
    • FAQ: ADRadioNet - Features & Value Proposition
    • FAQ: ADRadioNet - "Upstream" and "Downstream"
    • FAQ: ADRadioNet radio profiles with ADF7024
    • FAQ: Basic Requirements - Boards & Tools for ADRadioNet
    • FAQ: Default configuration settings in the evaluation demo
    • FAQ: Expanding ADRadioNet beyond Evaluation Demo
    • FAQ: How the payload in ADRadioNet protocol is encoded
    • FAQ: How to decipher the messages on the ANodeCenterPoint tool?
    • FAQ: Multi-band, Multi-PHY, Multi-channel?
    • FAQ: on Free Flash Programmer Utility for ADF7xxxMB4z
    • FAQ: Over the Air Commands
    • FAQ: Payload in ADRadioNet protocol
    • FAQ: Unable to connect my EndPoint to the ANodeConfig tool.
    • Procedure to create alternative solution for ANodeCenterPoint tool to receive data from CenterPoint device
  • how can create a graphic in real time with ev adrn wsn 1z ?
  • How can decrease a sleep time, down one second? ADuCRF101MK
  • How can I capture sensor data and use it in my application?
  • how can install ev adrn wsn 1z on windows 10?
  • How can save the data with ev adrn wsn 1z ?
  • How do I expand my network beyond evaluation demo
  • How the payload in ADRadioNet protocol is encoded
  • How to configure the sensor on Bunch WSN?
  • How to Create alternative application to AnodeCP tool?
  • How to decipher the messages on the ANodeCenterPoint tool?
  • How to decode Temperature and humidity value from Bunch sensor board that is seen at AnodeCP GUI?
  • How to recover the setting on EV-ADRN-WSN-1Z
  • How to wake up the EP to capture the active EP data?
  • Identifying sensors enabled and sensors data, from a data packet of End Point in a network
  • Multi-band, Multi-PHY, Multi-channel?
  • my endpoint is not acting immediately on CP commands
  • Node not joining the network after flashing with new firmware
  • port numbers in ADRadioNet?
  • programme microcontroller
  • Prolem with ADuCRF101MK, I don't see the bunch on AnodeCenterPoint
  • Question on data rate selection in router
  • Questions about the ADRadioNet, how to deploy a network?
  • Radio profiles with ADF7024
  • Unable to connect my EndPoint to the ANodeConfig tool.
  • unable to detect BUNCH EP on ANodeConfig tool with ADRadioNet01_EDKv2.0
  • Unable to detect device with ANodeConfig tool
  • Unable to see the node performance of Router
  • What is "Upstream" and "Downstream" in ADRadioNet
  • What's the difference between the WSN development kits EV-ADRN-WSN-1Z and EV-ADRN-WSN-2Z? When and where can they be ordered?
  • Will I loose my configuration settings if the device looses power?
  • WSN Bunch Node PCB Layout File
  • WSN Bunch Node sometimes cannot register

FAQ: Payload in ADRadioNet protocol

Many users ask about how the payload in ADRadioNet is organized. The PC tool ANODE CENTER POINT is the best place to start with to understand this. The [Start] tab in the ANodeCenterPoint tool displays the total packets received in byte streams format, as shown in the following snapshot. This consists of - Link layer header, Message header & Payload (Sensor Data + Local statistics).


The port number (byte #25-#26 in the message header) is used to differentiate between network & data. Users can define their own unused port numbers in the source code to communicate with other device. Please note that the payload starts from 27th byte on wards in the data stream.

Packet format at MAC layer

SRD_BUFFER_SIZE (128 Bytes Max.)

LLH_LEN

(9 Bytes)

MB_MSGHEADLEN

(17 Bytes)

Payload(102 Bytes)

 

 

Data

(66 Bytes)

Local statistics (36 Bytes)

Added if Local Statistics are enabled to send

The Data field of the payload in the above packet format contains:

  • Sensor Packet => Sensor information
  • Registration Packet => Configuration parameters
  • Heartbeat Packet => No Data

The following explains how the ADRadioNet protocol encapsulates different types of data, like sensor data (66 bytes) and statistics (36 bytes). Put together with link layer header (9 bytes) message header length (17 bytes), the total size is 128 bytes. However, when this has to be sent over UART to the PC, additional headers get added taking the requirement to 134 bytes as shown below. Needless to say, the useful sensor data in this example is 66 bytes. The additional data bytes are dedicated for displaying useful statistics information (36 bytes).

As shown above the payload comprising of sensor data along with statistics information (corresponding to a specific sensor mote) is encapsulated with required headers and is sent over the UART. This is deciphered on the PC side to show the results on the ANodeCenterPoint tool. Please note that in the example shown above the sensors are organized in a pre-defined manner. It is up to the user to define this order or make a new schema to decipher information based on the requirement.

The example UART sensor information packet received at the ANodeCenterPoint tool from CP is given below.

Each and every component in the payload 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)

 

An example sensor information captured by the ANodeCenterPoint tool is shown as below

  • AD7151    => Proximity Sensor
  • SHT21      => Sensirion Temperature & Humidity Sensor
  • ADXL362  => Accelerometer


The sensor data is followed by statistics. The sensor data is highlighted in different colors above.

Yellow          =>  LED Information (LED5 and LED6 are ON)

Turquoise       => SHT21 (Temperature and Humidity)

Dark Green    => Proximity turquoise

Grey Color     => Accelerometer (X, Y and Z axis)


Hope this helps.

This FAQ was generated from the following discussion: How the payload in ADRadioNet protocol is encoded

  • adradionet payload
  • Frequently Asked Q's
  • Share
  • History
  • More
  • Cancel
Related
Recommended
 
Social
Quick Links
  • About ADI
  • Partners
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Analog Garage
Languages
  • English
  • 简体中文
  • 日本語
  • Руccкий
Newsletters

Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

Sign Up
Switch to mobile view
Analog Logo
© 1995 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 Analog Devices, Inc. All Rights Reserved
  • 沪ICP备09046653号-1
  • Sitemap
  • Privacy & Security
  • Privacy Settings
  • Terms of use
EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.