How to stop steering as a ZR

Hello,

Using a ZR device with nRF Connect 1.5.1.

I am wondering how to stop steering mode in a ZR device (e.g. if user requests an "abort").

It is started with bdb_start_top_level_commissioning(ZB_BDB_NETWORK_STEERING) but how to stop it? There is a defined ZB_BDB_COMMISSIONING_STOP parameter but documentation says "Used internally".

Thanks in advance & best regards,

Alex

  • Hi Alexander,

    Could you provide more information to specify the needs for this request?

    As far as I can see, just like BLE or WiFi, you can power off/cycle or do a "bdb factory_reset" to the device to stop the undergoing steering process and make it ready for the new configuration.

    Best regards,

    Charlie

  • Hi Charlie,

    The need for this is to stop steering after a predefined time. E.g. a user will have 5 minutes for establishing a connection after power up. After this time it should not be possible to connect it to a network without manually retriggering steering via button. The user could also want to stop steering manually to prevent connections by other people/networks.

    A factory reset is not what I want because all other configuration should be left unchanged. Only steering mode should be stopped as simple as it was started.

    Best regards,

    Alex

  • Hi Alexander,

    Thanks for the explanation, It seems bdb_start_top_level_commissioning(ZB_BDB_COMMISSIONING_STOP) can do this job, but I did not found the usage reference for it by far. You can find the source codes from ncs180/nrfxlib/zboss/src/commissioning/bdb/zdo_commissioning_bdb.c.

    Just add it to one button even and verify if it works as your expectation. 

    Best regards,
    Charlie
Related