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.

如果用zcl_SendReportCmd发送一个数组?

Other Parts Discussed in Thread: Z-STACK

Z-Stack Home 1.2.2a

使用ZCL通信,从终端上报传感器数据到协调器。

看了Cluster:ZCL_CLUSTER_ID_GEN_ON_OFF_SWITCH_CONFIG,Attribute:ATTRID_ON_OFF_SWITCH_TYPE,这个数据类型是uint8,长度为1,也就是说每次可以上报一个8bit数据。

如果每次要上报20个字节给协调器,怎么样修改最简单?是自己定义一个Attribute吗?