You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using mbed-os-ble-utils for our BLE-enabled device. In this library the BLEProcess class has the start API to strart advertising. I tried to fork the library and make the _event_queue.dispatch_forever(); (line) inside a thread to avoid blocking the code I will execute at startup after starting the BLE advertisements .
16L-YT
changed the title
BLE start routine get freeze when the event_queue dispatching inside mbed-os-ble-utils moved to a thread
BLE start routine freezes when the event_queue dispatching inside mbed-os-ble-utils moved to a thread
Jan 4, 2024
Description of defect
I'm using mbed-os-ble-utils for our BLE-enabled device. In this library the
BLEProcess
class has thestart
API to strart advertising. I tried to fork the library and make the_event_queue.dispatch_forever();
(line) inside a thread to avoid blocking the code I will execute at startup after starting the BLE advertisements .However the BLE stuck at
I even tried to increase the priority of that thread to the highest
osPriorityRealtime7
with no effect.Note:
No extra debugging messages, even if the BLE logs are enabled:
Is there a clear reason why ?
Target(s) affected by this defect ?
AMA3B1KK-KBR-B0
Toolchain(s) (name and version) displaying this defect ?
gcc version 10.2.1 20201103 (release) (xPack GNU Arm Embedded GCC, 64-bit)
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.9.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-tools 7.59.0
How is this defect reproduced ?
Following the mentioned steps in the defect description.
The text was updated successfully, but these errors were encountered: