This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee router join signal

A happy new year everyone,

I should develop a mesh sensor network for Raytheon Anschütz GmbH in Germany but I am an absolute beginner on Zigbee and therefore struggle a lot with basic functionalities. 

I tried the Zigbee light switch example and would like to monitor the joining process on the coordinator as I have to maintain a list of all connected network devices.

I added the following case to the  zboss_signal_handler() in the coordinator code:

        case ZB_ZDO_SIGNAL_DEVICE_ANNCE:
            {
            zb_buf_t                    * p_buf = ZB_BUF_FROM_REF(param);
            zb_apsde_data_indication_t * p_ind  = ZB_GET_BUF_PARAM(p_buf, zb_apsde_data_indication_t);
           NRF_LOG_INFO("Joined Addr = 0x%02x\r\n", p_ind->src_addr);
            }
            break;

When the light_switch_enddevice joins the network, the signal is catchen and it prints the short addr.
When the router (light_bulb) joins the network nothing happens, even when the router report a successful connection and the LED is turned on.

When I start the cli example and start the device as router the signal is caught.

Can you explain what is the difference between the cli router and the light_bulb router and what I have to change to receive the device_annce signal.


My application requires all devices to be routers. How can I get the short addr for all routers joining the network?


I hope you can help me. Please feel free to contact me as well via phone under +49 431 3019 646

Best regards
Marco Runge


Parents Reply Children
Related