-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Linux] Device scanning status using state machine and fix error stat…
…us (#31412) * [Linux] Modify the device scanning status to a state machine * Restyled by clang-format * [Linux] Use a mutex to avoid potential race conditions with BLE scanners. * [Linux] use std::lock_guard instead of manually unlock * [Linux] fix bug: mutex is nonmoveable * [Linux] Turn scanning on and off in the same thread(ChipStack) --------- Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
3 changed files
with
71 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters