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中的SampleSwitch 中的开关状态如何发送到ZNP中

使用了SampleSwitch,协调器用的ZNP程序,可以接收串口发送的控制指令,但是怎么给ZNP返回状态信息。

  • “”怎么给ZNP返回状态信息“”这句话没有太明白是什么意思。

    协调器希望知道SampleSwitch的on/off状态,ZNP收到这个on/off状态,发送给host,是这样吗?

    如果是的话,那么host可以控制ZNP,通过发送read Attribute给switch,去获取swith的状态,ZNP收到状态后,会通过串口把状态发给host