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.

zigbee读取属性值, 数据包未发送,返回成功

在读取属性时候,节点A发出:zcl_SendRead();节点B收到后,会自动调用zcl_SendReadRsp(),最后调用 AF_DataRequest()函数。

但是执行完AF_DataRequest(),没有数据包发出来。

AF_DataRequest()的返回值是0(success成功发送的)。

其它地方都正常。以下是相关程序:

节点A:

zclReadCmd_t  readAttriCmd ;
readAttriCmd.numAttr = 1;
readAttriCmd.attrID[0]= ATTRID_ON_OFF;

zcl_SendRead( SAMPLESW_ENDPOINT, &zclSampleSw_DstAddr_BroadcastGroup,

ZCL_CLUSTER_ID_GEN_ON_OFF, &readAttriCmd,

ZCL_FRAME_CLIENT_SERVER_DIR,

0,0 );