Hi.
I have a question related to the Zigbee SDK's "On / Off Switch" example.
Studying the example, I cannot understand how to activate the "light_switch_send_on_off" function that allows me to send the change to the "OnOff" attribute:
in the example, the function is called following the pressing of the keys of the board but the case is not considered where I send the activation or deactivation message from a coordinator,
like Amazon Echo.
In fact, if I try to control the switch directly with Amazon Echo, the device does not work and is not able to drive it.
How can I solve the problem?
If I try to use the "zcl_device_cb" callback that is present in the example of the light_bulb, however, it never calls this callback when Amazon Echo sends the message to the switch.
I also tried using a sniffer to see what kind of message is being sent and I can see that Amazon Echo sends a message without APS Frame, as if it didn't recognize the command well.
Thank you and best regards.
Raffaela