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发送问题



Home 1.2.2

1.我们想发送自己的数据,是不是发送的参数有问题

单播到目的地址,这个设置是正确的

zclSampleLight_OnOff=0x10;
endPointDesc_t *epDesc;
epDesc = afFindEndPointDesc( SAMPLESW_ENDPOINT );
AF_DataRequest( (afAddrType_t *)&zclSampleLight_DstAddr, epDesc, ZCL_CLUSTER_ID_GEN_BASIC, 1, (uint8 *)&zclSampleLight_OnOff,
&zcl_TransID, AF_TX_OPTIONS_NONE, AF_DEFAULT_RADIUS );

2.接收端case ZCL_INCOMING_MSG:打断点,收不到数据