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.

[参考译文] CC2530:扩展地址

Guru**** 2589280 points


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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/830906/cc2530-extended-address

器件型号:CC2530

您好!

我使用 zcl_sendreportcmd 将字符从终端设备发送到协调器。 传输成功。 但我想查看在协调器中发送消息的终端设备的扩展地址。 我使用此函数检查接收到的数据。  

#ifdef ZCL_REPORT_DESTINATION_DEVICE
uint8 *收入数据=空;
/*********
*@fn zclSampleThermostat_ProcessInReportCmd
*
*@简要处理"Profile"报告命令
*
*@param pInMsg -要处理的传入消息
*
*@返回无
*

静态空 zclSampleThermost_ProcessInReportCmd (zclIncomingMsg_t *pInMsg)

zclReportCmd_t * pInTempSensorReport;
pInTempSensorReport =(zclReportCmd_t *) pInMsg->attrCmd;
Income 数据=&pInTempSensorReport->attrList[0].attrData[0];

#endif // ZCL_REPORT_DESTINATION_DEVICE

我应该做什么/添加什么?

 

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

    收到 ZCL 消息时,只有短地址可用。 您可以保留设备列表,以便在设备加入网络时保留设备的短地址和扩展地址,也可以发送扩展地址请求以获取该地址。

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

    谢谢、我如何 发送扩展地址请求?

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

    您可以使用 API ZDP_IEEEAddrReq