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.
你好!
向你请教一下问题,谢谢!
我看ZHA1.2例程中SampleTemperatureSensor(温度传感器),找到函数zclSampleTemperatureSensor_SendTemp(),这个函数就是将测量的温度值通过无线发送出去,其中用到zclReport_t结构体。
1、通过上面是否认为这结构体zclReport_t是温度传感器在ZHA中的payload foramt?
2、如果温度传感器的payload format是结构体zclReport_t,那么我可以认为其他传感器是否也可以用这个结构体作为payload format呢?
3、我理解,ZCL底层的数据结构 ZCL Command frame Format=ZCL header+payload format,我理解是否正确呀?
注:目前我们公司准备用烟感、气感、红外、门磁、温湿度、一氧化碳、水浸传感器。