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

How to make node devices use all channels?

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.

Parents Reply
  • 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

Children
Related