Hi all ,
I am trying to setup zigbee network between cordinator and end devices. I have two end devices 1 light switch and another dimmer switch. The network is sucesfully established between cordinator and dimmer. And I am able to control dimmer levels. However I am not able to discover , bind to light switch.
Log for same as been showed below :-
root@arm:/zigbee# ./zigbee_test_app
OSAL_INTERFACE_INITTASKS
================================
Home Automation Application
================================
0: check zigbee running status
1: ALLOW JOIN
2: DISCOVER DEVICES
3: BIND Device
4: SET LIGHT ON
5: SET LIGHT OFF
6: DIMMER LIGHT On/Off
7: DIMMER LIGHT Level Controll
8: DETECT MOTION
9: DISALLOW JOIN
10: READ ATTRIBUTE STATUS
11: EXIT FROM APPLICATION
Enter Option :
INIT-BEINGosal_set_event
osal_msg_sendosal_set_event
osal_set_event
osal_set_event
devState is 0
Register application endpoint..
osal_set_event
devState is 0
osal_msg_sendosal_set_event
osal_set_event
ZigBee Coordinator
ZDO_UpdateNwkStatusZDO State Change
osal_msg_sendosal_set_event
osal_msg_sendosal_set_event
HA_eventHandlerosal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_set_event
osal_msg_sendosal_set_event
osal_msg_sendosal_set_event
HA_eventHandler
DEVICE ANNOUNCE
u16SrcShortAddr = fc55LIST IS EMPTYAdd new node for Dimmer
New Node added
Node Details...
Node IEEE address : 137a000000ae5c
Node NWK address : fc55
-------------------------------------
osal_set_event
osal_msg_sendosal_set_event
osal_msg_sendosal_set_event
osal_msg_sendosal_set_event
HA_eventHandlerosal_set_event
osal_msg_sendosal_set_event
osal_msg_sendosal_set_event
Here the cordinator device is UP. On connecting Light Switch I am getting continuous logs
osal_set_event
osal_set_event
osal_set_event
However When I connect Dimmer switch it displays its network and IEEE address.
DEVICE ANNOUNCE
u16SrcShortAddr = fc55LIST IS EMPTYAdd new node for Dimmer
New Node added
Node Details...
Node IEEE address : 137a000000ae5c
Node NWK address : fc55
Why is Device one ie Light Switch not getting discovered. ??
Also will the both switch devices share same network (short address) ?? How are the devices assigned network address ??
Regards