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 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 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.
Please study the generic on off example to know how to implement a model in your application.
You can just refine the payload, so instead of a bool variable, you can define a byte array.
Hi Hung,
I add vendor model. So how to use this model and refine the payload. Sorry for my ignorance. Please help me.

Have you tried to provide the opcode that you used in your model and the payload ?
I would suggest to print out the log inside access.c , please look for the logging ("RX:" ) inside mesh_msg_handle() , you can print out the raw message that you receive on access layer. From that you can check if you receive the packet from the phone or not, and if the opcode is correct or not.
If that works, you can start to customize the nRF Mesh app interface , the source code for the app is available on our github.
Hi Hung,
I can send and receive uint16_t message, but when i using app to turn on, it not work. How do i fix it.
Hi Hung,
I can send and receive uint16_t message, but when i using app to turn on, it not work. How do i fix it.
Hi Son,
I don't fully understand about the issue you are having. Could you give some more information ? What do you mean by "turn on" ?
Please describe what works and what doesn't work. I thought you want to send an array/string ?