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.

How to disable zigbee network temporarily by a push of a button?



Hi,

I use sampleswitch and samplelight firmware. sampleswitch can control the samplelight remotely find. In some cases, I want to disable sampleswitch from able to control the samplelight by disable the zigbee network on the samplelight by a push of button instead of bind/unbind the devices. How to do so? Any advice?

if ( keys & HAL_KEY_SW_6 )
{
// disable zigbee network

???

}

Thank you.