NCS BLE Mesh Static OOB provision example?

Hello DevZone,

In NCS, we have many BLE Mesh examples that is initialed by:

bt_mesh_init(bt_mesh_dk_prov_init(), model_handler_init());
 

The first argument is a structure that contains some input and output OOB callback functions.

But I can't find an example shows that how to provision with static OOB.

As you may know, some smart home IoT platforms use static OOB to exchange authentication value. So, it is an important way to provision by static OOB.

Can you provide some examples? 

Parents Reply Children
  • Hi,

    The default `bt_mesh_dk_prov_init()` function returns a structure, which does not contain the `static_val` member variables in `struct bt_mesh_prov`.

    When provision the device to AliGenie Platform. It requires us to use the static OOB. The static OOB value is calculated by SHA256.

    The value itself is not important. The problem is that we don't have an example shows how to initial the Mesh stack with static OOB.  

    By the way. I also need an example shows how to bind AppKey. The MESH examples in NCS are too simple.

    Thank you very much.

    Best regards,

    Jayant

Related