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

Trouble with bluetooth communication with ble_nus_string_send

So I've been trying to integrate the ble_nus part of the ble_app_uart example into another project. All inits and sdk_config options seem to be the same.

Still, whenever I send a message with ble_nus_send_string, the program freezes when it returns to the main loop.

One difference from the ble_app_uart example is that the ble_nus_on_ble_evt function seems to run four times instead just once, as it does in the example. I haven't been able to figure out why.

Parents Reply
  • What Softdevice s132 version? v5.0.0?

    The info you have provided so far only sates that something goes wrong. If you end up at address 0x8C8 it probably means that the SoftDevice has asserted, but if I am supposed to help you figure out exactly what goes wrong and why it goes wrong, you either need to debug more and provide a stack trace and a detailed description of what leads up to the assert, or you will have to upload a project that I can use to recreate the issue myself.

Children
No Data
Related