mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
gap: stop LE connecting if create connection fails (e.g. connectable adv active and multiple roles not supported)
This commit is contained in:
parent
ba9fc86712
commit
f7e6a692b0
@ -12,7 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Fixed
|
||||
- GAP: store link key in hci connection struct to allow authenticate after pairing without bonding
|
||||
- GAP: avoid requesting authentication twice
|
||||
- GAP: gap: cache own address on start advertising and connecting, provide getters
|
||||
- GAP: cache own address on start advertising and connecting, provide getters
|
||||
- GAP: stop LE connecting if create connection fails (e.g. connectable adv active and multiple roles not supported)
|
||||
- SM: fix race condition between local address changes and pairing procedure
|
||||
- ATT DB: fix spelling `gatt_server_get_handle_range_for_service_with_uuid128`, `gatt_server_get_handle_range_for_service_with_uuid16`
|
||||
|
||||
|
@ -2431,6 +2431,7 @@ static void event_handler(uint8_t *packet, uint16_t size){
|
||||
#ifdef ENABLE_LE_CENTRAL
|
||||
if (hci_is_le_connection_type(addr_type)){
|
||||
hci_stack->le_connecting_state = LE_CONNECTING_IDLE;
|
||||
hci_stack->le_connecting_request = LE_CONNECTING_IDLE;
|
||||
}
|
||||
#endif
|
||||
// error => outgoing connection failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user