Hi,
I am facing an issue while integrating BLE with the rest of my code. The code crashes when I try to start BLE outside of main()
.
Currently, I have placed the BLE initialization at the beginning of main()
, and it starts and advertises successfully. However, the code crashes during the bonding process.
- I am using two threads in my application.
I am using nrf5340, 2.6.1 SDK and 2.6.1 toolchain manager.
This are my configuration.
this is BLE start code
Please help me resolve this issue, as I am in the final stage of my project completion!