Other Parts Discussed in Thread: Z-STACK, CC2650, CC2538
Greetings,
I am trying to connect CC2650EM as an end device to a Zigbee network created by CC2538EM as a coordinator. I use the Sample Door Lock pair of examples from Z-Stack Home 1.2.2a.
I used the "SampleDoorLockController" example on CC2538EM and modified it to send "toggle" every 3 seconds (I raise an event every 3 seconds using osal_start_timerEx() function and handle it like an "up" switch is clicked). I debugged this code and it works fine.
I flashed "SampleDoorLock" example (without modifications) on CC2650EM. It successfully connects to the Zigbee network (it shows an address on the SmartRF06 LCD after a few seconds of powering on), but after that, nothing happens. When I debugged, I found that it enters an infinite loop in the next iteration after connecting to network. It waits for response message infinitely in line 1001 (dlsapp.c):
Why isn't it receiving any data? The network is established between the two devices and the coordinator is sending a message every 3 seconds. What makes the end device wait for infinite time?
Regards
* James *