When i enable BLE_DFU_SUPPORT_ENABLED 1 and debug i have problem Mesh error 4 at 0x00000000 (:0).
I'm using sdk: 17.0.2, sdk_for_mesh: 5.0.0. Board nRF52840 DK.
Thanks you for support.
When i enable BLE_DFU_SUPPORT_ENABLED 1 and debug i have problem Mesh error 4 at 0x00000000 (:0).
I'm using sdk: 17.0.2, sdk_for_mesh: 5.0.0. Board nRF52840 DK.
Thanks you for support.
Hi Sơn,
As the log may suggest, have you flashed the BLE bootloader ?
You would need to flash the BLE bootloader as instructed here.
Hi Sơn,
As the log may suggest, have you flashed the BLE bootloader ?
You would need to flash the BLE bootloader as instructed here.
Hi Hung,
I don't know step 4 "merge the bootloader HEX file and the bootloader settings HEX file". where can i find or how to generate bootloader settings Hex file.
Thanks you for reply me.
Hi Son,
It's described at step 1.e in the same page , you need to use nrfutil to generate bootloader setting. https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_settings_generate_display.html?cp=10_7_6
However, you don't need to generate bootloader setting if you simply want to test the bootloader. I would suggest to follow my blog here on how to test the bootloader and get familiar with the bootloader before you testing it with the LPN mesh.
Thanks you so much. I will follow your blog. So I have a question. In example Light_Switch, other than sending the onoff message, can i send another message, for example "hello"?
Hi Son,
Yes, but you would need to define your own model. Have a look at the simple_on_off model. You need to define your own payload data , to add a byte array there.
Hi Hùng,
To use simple_on_off, i just need to change function "models_init_cb", "mesh_init" in main.c, right? And which funcion will send my message? I see uint32_t simple_on_off_client_set(simple_on_off_client_t * p_client, bool on_off), it send bool message but not send string message.