Hi, i am using "mesh provisioner" example in nrf52840. ncs v2.2.0
i am trying to provision nearby device, that is also nrf52840 running "ble_periphera_lbsl_coex" example.
And i manually set publish group address and subscribtion on mesh provisioner but it does not get app key " bt_mesh_cdb_app_key_get()".
On the other hand "ble_peripheral_lbs_coex" that has continiuos publish of time interval "2 Sec".but it shows "err-125" while publishing
Following are my code and log of mesh_provisioner:
.*** Booting Zephyr OS build v3.2.99-ncs1 ***
Initializing...
Bluetooth initialized
Mesh initialized
Loading stored settings
Created CDB
Provisioning completed
Configuring self...
Configuration complete
Waiting for unprovisioned beacon...
Device 916442e5ed624fceae9bbd1a129d6031 detected, press button 1 to provision.
Provisioning 916442e5ed624fceae9bbd1a129d6031
Waiting for node to be added...
Added node 0x0002
Configuring node 0x0002...
*** Booting Zephyr OS build v3.2.99-ncs1 ***
Initializing...
Bluetooth initialized
Mesh initialized
Loading stored settings
Using stored CDB
Using stored settings
Waiting for unprovisioned beacon...
Waiting for unprovisioned beacon...
struct bt_mesh_cfg_mod_pub pub = {
.addr = 0xC000,
.app_idx = 0,
.ttl = 1,
.period = BT_MESH_PUB_PERIOD_SEC(1),
};
err = bt_mesh_cfg_mod_pub_set_vnd(net_idx, node_addr, node_addr,0x000A, 0x0059, &pub, NULL);
if (err || status) {
printk("Failed publishhh (err: %d, status: %d)\n", err,
status);
}
err = bt_mesh_cfg_mod_sub_add_vnd(net_idx, node_addr, node_addr,0xC000, 0x000A,0x0059, NULL);
if (err || status) {
printk("Failed subscribe (err: %d, status: %d)\n", err,
status);
}
Mesh_provisioner reboots after bt_mesh_cdb_app_key_get().