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

[nRF52840 + zigbee] Can the ZED get the 16-bit address of parent node ?

Hi,

When a ZED is joined to network, it can retrieve parent 16-bit short address ?

or

ZED can know which ZR the ZED is joined(connected) ?

Thanks.

  • Hi,

    See Andreas answer in this thread.

    Best Regards,

    Marjeris

  • The reply by Andreas is not solution.

    I want ZED(end device) retrieve parent short address when it is joined to the network.

    The reply is parent(coordinator) side code.

  • Hi,

    Sorry for the misunderstanding. As Andreas answered in your other thread, there is no direct API for doing this. What you can try doing is:

    1) call zb_zdo_mgmt_lqi_req destined to itself (child node), this will give you zb_zdo_neighbor_table_record_t

    2) parse response and search entry with type_flags corresponding to parent.

    Best Regards,

    Marjeris