This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack Home 1.2.1: ZDO_MGMT_LQI_RSP undocumented fields

Other Parts Discussed in Thread: Z-STACK, CC2531

Hi,

I guess my question is to TI team.

1. Where I can find description of these fields of ZDO_MGMT_LQI_RSP

DeviceType: bits 1-0
RxOnWhenIdle: bits 3-2
Relationship: bits 6-4

Depth

LQI

In "CC2530ZNP Interface Specification.pdf" I see this description

In "Z-Stack Monitor and Test API.pdf"

2. When I receive the ZDO_MGMT_LQI_RSP and node is powered off, there could be 2 values:

0x00

0xAA

With 0x00 - all is clear, but why with powered off device I see 0xAA?

Thanks,

Vasiliy

  • Hi Vasily,

    You can find this information in the ZigBee Specification document from the ZigBee Alliance.

    Here is the descriptions

    For your second question, In what field of the ZDO_MGMT_LQI_RSP do you see the value 0xAA? 

    Regards,

    Hector

  • Hi Hector,

    Thanks for the table - very helpful.

    In regard to 2nd question, I've compiled cmdLine example from "znp_host_framework" ( ) and use CC2531 USB dongle, I start the dongle as coordinator, after external EndDevices (ED) connects to the USB dongle I see different LQI values. After I powered off all ED and wait up to 30 minuter, and make in cmdLine LQI_RSP I get this like response:

    mtZdoMgmtLqiRspCb
    SrcAddr: 0x0000
    Status: 0x00
    NeighborTableEntries: 0x07
    StartIndex: 0x00
    NeighborLqiListCount: 0x03
    mtZdoNeighborLqiListItem[0]:
        ExtendedPanID: 0x00124B0001DC75B6
        ExtendedAddress: 0x00124B0004DFF718
        NetworkAddress: 0x1B0E
        DevTyp_RxOnWhenIdle_Relat: 0x12
        PermitJoining: 0x02
        Depth: 0x01
        LQI: 0xAA
    mtZdoNeighborLqiListItem[1]:
        ExtendedPanID: 0x00124B0001DC75B6
        ExtendedAddress: 0x000B5200000063EC
        NetworkAddress: 0x6033
        DevTyp_RxOnWhenIdle_Relat: 0x15
        PermitJoining: 0x02
        Depth: 0x01
        LQI: 0xAA
    mtZdoNeighborLqiListItem[2]:
        ExtendedPanID: 0x00124B0001DC75B6
        ExtendedAddress: 0x00158D00001C669E
        NetworkAddress: 0xD2A7
        DevTyp_RxOnWhenIdle_Relat: 0x15
        PermitJoining: 0x02
        Depth: 0x01
        LQI: 0x00

    Just for remind, ALL EDs are POWERED OFF, but two of  them still shown in the table wrom the USB dongle with LQI>0

  • I have looked into this and it seems that the default LQI value in Z-Stack is 0xAA. The reason why you are seeing that value is because the coordinator has nowhere to update the LQI value from since the other devices are turned off, so it will set the LQI to the default value which is 0xAA.

    I hope this helps,
    Hector
  • Thanks a lot!