This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem porting BLE-NUS on nRF52832

Hi, Nordic Forum!

We have developed our own logging module backend so we can store logs in an external flash memory. But now we wanted to transmit those logs via BLE to the phone so we can have a "picture" of what happened when it was not connected to our device.

We thought it was a good idea to use the ble_nus service since is already implemented. But when we tried to port it to our application, things stopped working.

Initially, when we called ble_nus_init, we got NRF_ERROR_NO_MEM back. Then we tried to increase the .vs_uuid_count field in the stack initialization, but when we did that, nothing worked. The program flashes, but we don't get any logs, no even of the functions we call before ble_stack_init.

We're using SDK ver 13.0.0 with SoftDevice S32 ver 4.0.2 in a custom board, and we have 1 custom service, the Nordic buttonless DFU service, and the standard battery level service.

Thanks in advance.

Parents Reply Children
No Data
Related