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.
最近手头上在处理z-stack home下的灯光控制处理,需要终端返回自身状态值(on/off,level),也看过一些文档和VV大神给别人的解答,还是有一些疑问
1、我知道report有两种方式,1》协调器configure reporting ,然后终端定时或attribute改变时reporting attribute ,2》协调器主动去read attribute,终端通过read attribute response返回attribute 值;但是我在没有configure reporting 或read attribute时直接通过zcl_SendReportCmd 和zcl_SendReadRsp也可以发送attribute值给协调器,那么在协调器没有configure reporting 或read attribute下得到的attribute 值有什么问题呢,这样做哪里不合理?
2、论坛里vv推荐的是read attribute去实现功能,协调器通过zcl_SendRead发送给终端,但是在终端zclSampleLight_ProcessIncomingMsg中只有对 case ZCL_CMD_READ_RSP:的处理,没有 case ZCL_CMD_READ:,是需要自己完成么,还是说我理解错误?
希望VV大神简单推荐一个简单点实现方式,简单介绍一下协调器和终端实现这一功能的流程,谢谢@VV