mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
hci: use 2 bytes as HCI incoming pre-buffer without Classic for GATT Client
This commit is contained in:
parent
b06dfe1f92
commit
dfa951b111
@ -132,12 +132,12 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// BNEP may uncompress the IP Header by 16 bytes
|
||||
// BNEP may uncompress the IP Header by 16 bytes, GATT Client requires two additional bytes for long characteristic reads
|
||||
#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 0
|
||||
#define HCI_INCOMING_PRE_BUFFER_SIZE 2
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user