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.
I am a beginner here. I am working on an application ( like STAR network ) using Sample Switch application as a Zigbee Coordinator and Sample Light application on more than one Zigbee Routers. I want to control the light ( on/off ) on a single router amongst the many routers in the network. But after the invocation of EZ-mode the ( on/off state ) light on all the routers are changing their states after sending the command from the coordinator. How to resolve this issue?
Is address based packet filtering already enabled in this stack? If so how can I use unicast?
While working with the SampleSwitch (as ZC) and SampleLight (as ZR) applications, I have already defined, known endpoint as 8 for both. I used your suggested method to get the destination short address. As I already know the endpoint, I filled the endpoint descriptor fields and only Endpoint field in the simple descriptor. I kept the other simple descriptor fields to the garbage value. Also in the AF_DataRequest(), I passed destination address and source endpoint only with length of data equal to 10 bytes, option field with AF_SKIP_ROUTING.
Why am I not able to get the data on the SampleLight (as ZR) with case AF_INCOMING_MSG_CMD used for accessing the SYS_EVENT_MSG?
Also whenever I generate the command zclGeneral_SendOnOff_Cmd_Toggle () in sample switch at the inner level this function actually uses AF_DataRequest(). In this case why it cannot go to the case AF_INCOMING_MSG_CMD in the SampleLight?
It first goes to the zclSampleLight_OnOffCB(), after finishing this it is generating the SYS_EVENT_MSG with hdr to the default case statement.