disabling auto-start of zigbee network steering on reboot/pwr up

Hello,

In the Zigbee Network Coordinator example when flashing new file to nrf52840-DK the Zigbee network steering automatically starts.
How do I disable auto-start of network steering?

I need to do some configuration of network before stack started and then run "bdb start".

It won't let me change Zigbee channel as example because stack is running already.

In Kconfig I tried to: "Disable 802.15.4 interface auto-start" in IEEE 802.15.4 driver option.

This does not seem to be to work.

It also says: 

When all configurations are done net_if_up() has to be invoked to bring the interface 
Assuming I can disable auto-start, how do I do that assuming I get it to work?

I also tried in network coordinator main.c 

#define ZIGBEE_MANUAL_STEERING                 ZB_TRUE
This did not seem to work either.

Thanks, JM

Parents
  • Hi JM,

    I am using the SDK3.2
    There are two variants to initialize the "zboss" library. The first variant would be with "zboss_start()", which basically initializes the radio and starts the commissioning. If you want to do something before Zigbee data structures and the radio is initialized, this can be done with "zboss_start_no_autostart()". More detailed information can be found in the documentation: Stack commissioning start sequence. In the SDK3.2 example for the light coordinator, I have to call somewhere "bdb_start_top_level_commissioning(ZB_BDB_NETWORK_STEERING);" for opening the network (e.g. it is button 1). Of course, it is to be made sure that #define ZIGBEE_MANUAL_STEERING ZB_TRUE" is to be used (This is also simply responsible that a "zboss_start_no_autostart()" is run through, but also the automatic start in the switch is prevented). If the network is opened, e.g. my Multi-sensor can join.

    Best regards

    Jonas T

Reply
  • Hi JM,

    I am using the SDK3.2
    There are two variants to initialize the "zboss" library. The first variant would be with "zboss_start()", which basically initializes the radio and starts the commissioning. If you want to do something before Zigbee data structures and the radio is initialized, this can be done with "zboss_start_no_autostart()". More detailed information can be found in the documentation: Stack commissioning start sequence. In the SDK3.2 example for the light coordinator, I have to call somewhere "bdb_start_top_level_commissioning(ZB_BDB_NETWORK_STEERING);" for opening the network (e.g. it is button 1). Of course, it is to be made sure that #define ZIGBEE_MANUAL_STEERING ZB_TRUE" is to be used (This is also simply responsible that a "zboss_start_no_autostart()" is run through, but also the automatic start in the switch is prevented). If the network is opened, e.g. my Multi-sensor can join.

    Best regards

    Jonas T

Children
No Data
Related