Hi,
Does Nordic have a network-steering function that attempts to join networks on all channels? We will not know which network channel the sensor needs to join ahead of time.
Hi,
Does Nordic have a network-steering function that attempts to join networks on all channels? We will not know which network channel the sensor needs to join ahead of time.
nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8/examples/zigbee/light_control/light_bulb
Hi,
In several of the Zigbee examples, also the light bulb example, you have the following define:
#define IEEE_CHANNEL_MASK (1l << ZIGBEE_CHANNEL)
This line makes it so the device only scans one predefined channel, which is defined to be 16 by the define ZIGBEE_CHANNEL in sdk_config.h. If you remove that line, the device will instead scan through the different channels until it finds a channel with a network. In SDK v4.1.0 you can find this define on line 69 in the light bulb example.
Best regards,
Marte
Hi,
In several of the Zigbee examples, also the light bulb example, you have the following define:
#define IEEE_CHANNEL_MASK (1l << ZIGBEE_CHANNEL)
This line makes it so the device only scans one predefined channel, which is defined to be 16 by the define ZIGBEE_CHANNEL in sdk_config.h. If you remove that line, the device will instead scan through the different channels until it finds a channel with a network. In SDK v4.1.0 you can find this define on line 69 in the light bulb example.
Best regards,
Marte
I tested this solution, which is exactly what I need, thank you very much