Can't use ble_app_uart example on my project

6378.sdk_config.h

I'm, trying to use the ble_app_uart example for SDK v17.1. I can run the example correctly, but when I try to copy-paste the main code, I can't use the UART. I normally send a string via BLE and it echoes over UART, but when i move the example to my own project it just echoes the first character, and then suddenly disconnects. Could this be due to some sdk_config #define? i have the same code as the ble_app_uart example BUT with the BSP lines removed.

This my error log for when i connect and send a string.

Related