Tool/software:
How to obtain the unique IEEE address of a zigbee device?
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.
Hello,
Locally the IEEE address is set by the Zigbee application using zb_set_long_address after being copied from the device's FCFG, and can be read using zb_get_long_address afterwards.
/* Set the device's long address to the IEEE address pulling from the FCFG of the device */ zb_ieee_addr_t ieee_mac_addr; ZB_MEMCPY(ieee_mac_addr, fcfg->deviceInfo.macAddr, 8); zb_set_long_address(ieee_mac_addr);
For remote devices, you can obtain their IEEE address by requesting it from the device using the zb_zdo_ieee_addr_req function and its short/NWK address as a parameter.
Regards,
Ryan