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.

[参考译文] CC2340R5:如何获取 ZIGBEE 器件的唯一 IEEE 地址

Guru**** 2392905 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1537427/cc2340r5-how-to-obtain-the-unique-ieee-address-of-a-zigbee-device

器件型号:CC2340R5

工具/软件:

如何获取 ZigBee 器件的唯一 IEEE 地址?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    在本地、IEEE 地址 从器件的 FCFG 复制后、由 Zigbee 应用程序使用 ZB_SET_LONG_ADDRESS 进行设置、 之后可以使用 ZB_GET_LONG_ADDRESS 来读取。
     

      /* 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);

    对于远程设备、可通过使用 ZB_zdo_IEEE-addr_req 函数及其 short/Nwk 地址作为参数从设备请求其 IEEE 地址来获取其 IEEE 地址。

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢 Bryan。 我明白了