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,
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.
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.
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