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.

AF_DataRequest收发参数

VV您好!

    刚刚接触z-stack不久,有些问题想请教下:

1、在调用AF_DataRequest函数时,如何让确定接收方的shortAddr和extAddr,如果不知道这两者是不是不能发送数据?

2、为什么afAddrType_t中和endPointDesc_t中都有一个endPoint  ,这两个endPoint  分别指什么?

2、endPointDesc中的 endPoint   task_id    SimpleDescriptionFormat_t    afNetworkLatencyReq_t这几个参数分别指什么?

3、当接收到数据时,是不是会进入到case ZCL_INCOMING_MSG:
          // Incoming ZCL Foundation command/response messages
          zclSampleSw_ProcessIncomingMsg( (zclIncomingMsg_t *)MSGpkt );这个地方处理?

接触没多久,现在数据还不知道改怎么收发!麻烦回复下,谢谢

  • 1,是的。

    2, 一样的

    3,建议看下ZigBee Specification, ZigBee官网下载

    4,如果是ZCL层的数据会到这里来