onoff-app board sample not working #bluetoothmesh #nrf52832


Trying to get the Bluetooth mesh onoff-app sample working on a nrf52_pca10040 it compiles and runs on the board but when it try to provision it using the meshctl tool it freezes and I cant type after I tried using the nrf mesh app to provision but that didn't work either their is a error in the debug feed but it appears to be non-blocking.

[00:00:00.007,446] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.007,446] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.007,446] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 1.14 Build 0
[00:00:00.008,880] <wrn> bt_hci_core: No ID address. App must call settings_load()
[00:00:00.011,352] <err> settings: set-value failure. key: bt error(-2)
[00:00:00.011,596] <inf> bt_hci_core: Identity: d1:7e:0d:1d:8a:19 (random)
[00:00:00.011,596] <inf> bt_hci_core: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[00:00:00.011,596] <inf> bt_hci_core: LMP: version 5.0 (0x09) subver 0xffff
[00:00:00.011,688] <inf> bt_mesh_main: Device UUID: 00000000-0000-0000-0000-d17e0d1d8a19
[00:00:00.608,367] <dbg> bt_mesh_prov.pub_key_ready: Local public key ready

Johan Hedberg

Hi Alexander,

On 7 Apr 2019, at 2.02, alexander.2003@... wrote:
[00:00:00.011,352] <err> settings: set-value failure. key: bt error(-2)
I don’t know if this is the cause of your issue, but it implies that you have something in flash (the storage partition) that the application doesn’t expect. Before investigating further I’d suggest trying to erase the entire flash and then reflashing your app.