This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Use of flag field in Zigbee lqi response

I am using zigbee sdk to establish mesh network.

I am using client router example to fetch mgmt_lqi details where I am getting flag field in the response.

I want to know can I get the details of node description by using that flag field? or is there any other command by which I can get details about node type like ZC, ZR, ZED 

Parents
  • Hi,

    I assume by flag field you mean type_flags in zb_zdo_neighbor_table_record_s, and I assume you've already seen that the documentation mentions device type, as well as rx_on_when_idle and relationship. In table 2.130 in the Zigbee specification found here you can see the NeighborTableList record format, where these three are separate fields, and the device type is given by the following:

    • 0x00 = ZigBee coordinator
    • 0x01 = ZigBee router
    • 0x02 = ZigBee end device
    • 0x03 = Unknown

    However, I agree with you that it's unclear from the documentation how to get the device type from the neighbor table, and I've asked the Zigbee team internally to get a clarification on this. I'll come back to you when I hear from them.

    Best regards,

    Marte

Reply
  • Hi,

    I assume by flag field you mean type_flags in zb_zdo_neighbor_table_record_s, and I assume you've already seen that the documentation mentions device type, as well as rx_on_when_idle and relationship. In table 2.130 in the Zigbee specification found here you can see the NeighborTableList record format, where these three are separate fields, and the device type is given by the following:

    • 0x00 = ZigBee coordinator
    • 0x01 = ZigBee router
    • 0x02 = ZigBee end device
    • 0x03 = Unknown

    However, I agree with you that it's unclear from the documentation how to get the device type from the neighbor table, and I've asked the Zigbee team internally to get a clarification on this. I'll come back to you when I hear from them.

    Best regards,

    Marte

Children
Related