Bluetooth and Wi-Fi improvements (#622)
- Enable BT by default in DTS, and create separate radio on/of functionality (like recent Wi-Fi changes) - Bluetooth event handling now uses queued subscriptions, improving event delivery and application responsiveness. - Improved synchronization of Bluetooth advertising, connections, HID, MIDI, and SPP operations. - Enhanced cleanup during Bluetooth shutdown and subscription removal. - Clarified Bluetooth start and stop behavior. - Improved wifi driver subscription stability to prevent endless loops
This commit is contained in:
committed by
GitHub
parent
ab75d2022d
commit
0ee2415f3b
@@ -26,10 +26,10 @@ struct PeerRecord {
|
||||
int profileId = 0;
|
||||
};
|
||||
|
||||
// Wrapper around device start & radio on
|
||||
// Turns the BT radio on (dev is already started - see ble0's devicetree status)
|
||||
bool start(Device* dev);
|
||||
|
||||
// Wrapper around device stop & radio off
|
||||
// Turns the BT radio off (dev stays started)
|
||||
bool stop(Device* dev);
|
||||
|
||||
bool isRadioOnOrPending(Device* dev);
|
||||
|
||||
Reference in New Issue
Block a user