Other Parts Discussed in Thread: Z-STACK
Hello all,
Currently, i am using Z-stack 1.2.0 in my Zigbee network application. I have one coordinator and 3 end-devices.
I am using ZDO_STATE_CHANGE event to monitor End_device status. If end_device out of network, i will turn off a Zigbee's led indication.
I just do a test with broadcast message in Zigbee network with following parameters :
In coordinator :
zclSampleLight_DstAddr.addrMode = (afAddrMode_t)AddrBroadcast;
zclSampleLight_DstAddr.endPoint = 10;
zclSampleLight_DstAddr.addr.shortAddr = 0xFFFD;
and using AF_data_request to send out the message.
In end_device :
set -DRFD_RCVC_ALWAYS_ON=TRUE to enable receive broadcast message.
And i has been successful to send and receive packets through broadcast mechanism.
----------------------------------------------------------------
But, one problem happens in testing.
In End_device, Zigbee's led turn on when end-device has joined to Coordinator, but it does not turn off the Zigbee's led when coordinator shut down (in my debug process, ZDO_STATE_CHANGE event do not trigger when Coordinator go out).
Please help me to solve it.
Thank you very much.
Phuoc.