mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
l2cap: evaluate 'can send now' on HCI Disconnect as ACL buffers in Bluetooth Controller have been used for the closed connection are freed implicitly
This commit is contained in:
parent
9201a494d1
commit
eea99214d9
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
### Fixed
|
||||
- HCI/L2CAP: Error creating outgoing connection (e.g. Connection Limit Exceeded) now handled
|
||||
- RFCOMM: Trigger l2cap request to send on rfcomm credits when client is waiting to sendtrigger l2cap request to send on rfcomm credits when client is waiting to send
|
||||
- L2CAP: Try to emit 'can send now' on HCI Disconnect, if all ACL buffers in Bluetooth Controller have been used for the closed connection
|
||||
|
||||
## Changes August 2018
|
||||
|
||||
### Added
|
||||
- PBAP: added pbap_get_phonebook_size() to get phonebook entry count
|
||||
|
@ -2041,6 +2041,7 @@ static void l2cap_hci_event_handler(uint8_t packet_type, uint16_t cid, uint8_t *
|
||||
// Notify channel packet handler if they can send now
|
||||
case HCI_EVENT_TRANSPORT_PACKET_SENT:
|
||||
case HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS:
|
||||
case BTSTACK_EVENT_NR_CONNECTIONS_CHANGED:
|
||||
l2cap_run(); // try sending signaling packets first
|
||||
l2cap_notify_channel_can_send();
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user