mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
arduino: call gap_disconnect on disconnect
This commit is contained in:
parent
39d281a3eb
commit
f9f54450a1
@ -672,6 +672,7 @@ void BTstackManager::bleConnect(BD_ADDR_TYPE address_type, const uint8_t address
|
||||
|
||||
void BTstackManager::bleDisconnect(BLEDevice * device){
|
||||
run_loop_remove_timer(&connection_timer);
|
||||
gap_disconnect(device->getHandle());
|
||||
}
|
||||
|
||||
void BTstackManager::setPublicBdAddr(bd_addr_t addr){
|
||||
|
Loading…
x
Reference in New Issue
Block a user