BT central sample has the following code
-------------------------
BT central sample has the following code
Update
1. Calling bt_enable from a thread crashes the program - is this expected?
2.Enabled logging, called from main thread, see this message after bt_enable
[00:01:03.757,263] <inf> sdc_hci_driver: SoftDevice Controller build revision:
0e e7 c5 66 67 18 3c ac b3 d2 cc 81 a3 dc f1 c0 |...fg.<. ........
c0 36 02 22 |.6."
[00:01:03.763,702] <inf> bt_hci_core: No ID address. App must call settings_load()
Perhaps this is a clue.
Any ideas?
Thanks
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
Plus there is already another thread running in addition to the main thread, with the same stack size 1024