mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
hci: increase incoming pre-buffer for LE-only for service_id + connection_id
This commit is contained in:
parent
464b6e7bf9
commit
620d7d702b
@ -158,12 +158,13 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// BNEP may uncompress the IP Header by 16 bytes, GATT Client requires two additional bytes for long characteristic reads
|
||||
// BNEP may uncompress the IP Header by 16 bytes, GATT Client requires six additional bytes for long characteristic reads
|
||||
// wih service_id + connection_id
|
||||
#ifndef HCI_INCOMING_PRE_BUFFER_SIZE
|
||||
#ifdef ENABLE_CLASSIC
|
||||
#define HCI_INCOMING_PRE_BUFFER_SIZE (16 - HCI_ACL_HEADER_SIZE - 4)
|
||||
#else
|
||||
#define HCI_INCOMING_PRE_BUFFER_SIZE 2
|
||||
#define HCI_INCOMING_PRE_BUFFER_SIZE 6
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user