Other Parts Discussed in Thread: Z-STACK
Hi,
Same one knows what is the purpose of EZ-Mode functionalities on z-stack HA 1.2.0?
Is there any application note that explain this funtionalities?
best regards
pLopezzz
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.
So,
1) Binding is the only advantage of Ez_mode? or any other?
2)"If you invoke EZ-mode when device hasn't join any Zigbee network". what does it mean, if any device hasn't join any network, the Device in that network will invoke the association to those device which is not in a network or vice versa . No need to join in Zigbee Network?
As per your input, i started with sample Light. I have configured one device as coordinator and other as End device.
1) I have compiled as EZ_mode enable. I have noticed that, End Device is not sending the beacon request and joining to Coordinator, untill and unless i pressed key 2. Why it is so?.
2)Then in Compile option disable Ez_Mode in both Coordinator and End device. End Device is not sending beacon or joining to the network. It is not possible run zigBee Application with Zstack Home 1.2.1 without Ez_mode?
I configured SampleLight as Coordinator and Sample Switch as End device. End device is joining to network. When i press switch 4. End device is sending binding request to network(This i have checked in packet sniffer). But Coordinator is not responding to Binding request.
Then, if pressed switch 1, End device supposed to send a toggle command. In the LCD it is displaying command Send. But in the packet sniffer, i didn't notice End device is sending that command.
1. Why switch 4(sorry for typo, actually that is switch 2) press on sample light also?. ZDP_EndDeviceBindReq is sending by End device(Switch). Light need to respond for this, but it is not. If i press a same switch 2 in Light. It will also send ZDP_EndDeviceBindReq, i think no need of this.
Note: i have disabled Ez_mode.
2. Yes, i noticed that. But i need one thing to know, for sending to coordinator also binding is required.
Yikai, I am looking for same. But same thing i have tried with AF_DataReq. I didn't received in the Sample Light(Coordinator). When i see the packet sniffer, End device is sending the data and Coordinator also acknowledging. Then i started to debug. Then i noticed that, it is coming in the zcl.c . I have set a breakpoint to it. It is hitting the break point when ever End device sends data. But it why it is not coming in the Application Layer(zclSampleLight_event_loop).
I am sending the data to Coordinator using AF_DataReq from End device. But i am unable to get in either application and ZCL. In the sniffer log, the End Device is sending the data and Coordinator also acknowledging. But why it is not hitting the break point
uint16 zcl_event_loop( uint8 task_id, uint16 events )
{............
if ( *msgPtr == AF_INCOMING_MSG_CMD )
{
}
AF_DataRequest( &MySample_DstAddr, &zcl_epDesc,
ZCL_CLUSTER_ID_SE_TEMPERATURE_SENSOR,
18 + , (byte*)SenBEE, &zcl_TransID,
AF_ACK_REQUEST, AF_DEFAULT_RADIUS )
I am using unicast af16, 0x0000 short address, end point is 13(Coordinator End point) in MySample_DstAddr. Yes i have seen in packet sniffer, ZED is sending Msg and ZC also acknowledging. But in ZC it is not hitting the break point as i mentioned in previous post