BT central sample has the following code
-------------------------
BT central sample has the following code
I'll try that. Keep in mind that the thread that crashes calls bt_enable ( which starts many threads) and bt_le_scan_start
Plus there is already another thread running in addition to the main thread, with the same stack size 1024
Update2
This appears that this has to do with calling bt_enable() from a thread other than main. When bt_enable is called from main the error is gone and all 3 threads that I have run without problems
Hi Andy,
In my example code I provided you can see that the bt_enable() was called from a thread. So it's pretty strange that in your code it's causing trouble. Maybe you can try to strip down the application to make it more simple to narrow down what may cause the issue ?
Let's close this for now. I refactored my code and don't see this any more. Thank you for help