0

If I am sending data between two IoT devices communicating to each other using the Zigbee protocol

Two temperature sensors talking to each other

I would like to know the format of one packet and if there is any documentation you suggest I can read. that would describe in detail the packet details I would appreciate that!

ksa
  • 118
  • 8

1 Answers1

0

The ZigBee protocol is made up of multiple layers, and the question about header needs to consider what is being sent at each layer given that there are many optional fields.

Below is an overview of the different headers - there are optional features and these may change the size significantly. For example, if long addresses are used, this will add an extra 8 bytes per address (source and destination).

enter image description here

The different layers in ZigBee are each documented separately.

The public ZCL (ZigBee Cluster Library) specification is here

The public ZigBee Specification containing APS and network layer information is available here.

Note that these are the public versions - the most recent versions are only available to ZigBee Alliance members. Most changes are in the ZCL specification and other documents so should not impact the answer to this question relating to headers as these should not change.

cdjackson
  • 137
  • 1
  • 9
  • I will check out the attached links. I want to know like what is the maximum packets size of a Zigbee packet, header, payload to know how much information I can fit inside! – ksa May 18 '20 at 19:53
  • Simply add up all the elements in the diagram above which shows the ZigBee headers - it shows the maximum header size is 40 bytes, but most frames are likely to have much shorter headers than this since not all options will be used all of the time. – cdjackson May 18 '20 at 23:04