如题想用AF_DataRequest发送一些自定义数据,但是接收端一直是被ZCL_INCOMING_MSG接收,不能到AF_INCOMING_MSG_CMD下,
AF_DataRequest的大致参数如下,请问是哪里设置错误么?
AF_DataRequest(&zclSampleLight_DstAddr,epDesc,0x007,msgLen, msgBuf,0,AF_ACK_REQUEST ,AF_DEFAULT_RADIUS);
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.
谢谢VV解答
不好意思进入ZCL_INCOMING_MSG下不是AF_DataRequest 发送数据触发的,是我终端节点report attribute触发的,所以进入ZCL_INCOMING_MSG是不成立的,当我使用AF_DataRequest 发送数据时不能进入ZCL_INCOMING_MSG也不能正确的进入AF_INCOMING_MSG_CMD下,抓包显示AF_DataRequest 也是zcl层发出AF_DataRequest(&zclSampleLight_DstAddr,epDesc,0x0001,msgLen, msgBuf,0,AF_ACK_REQUEST ,AF_DEFAULT_RADIUS);
uint8 msgBuf[10] = {0,1,2,3,4,5,6,7,8,9};