mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
hci: reserve additional byte after HCI Event for terminating \0
This commit is contained in:
parent
235f65ff31
commit
a1ffb867e1
@ -65,7 +65,8 @@ extern "C" {
|
||||
|
||||
// packet buffer sizes
|
||||
// HCI_ACL_PAYLOAD_SIZE is configurable and defined in config.h
|
||||
#define HCI_EVENT_BUFFER_SIZE (HCI_EVENT_HEADER_SIZE + HCI_EVENT_PAYLOAD_SIZE)
|
||||
// addition byte in even to terminate remote name request with '\0'
|
||||
#define HCI_EVENT_BUFFER_SIZE (HCI_EVENT_HEADER_SIZE + HCI_EVENT_PAYLOAD_SIZE + 1)
|
||||
#define HCI_CMD_BUFFER_SIZE (HCI_CMD_HEADER_SIZE + HCI_CMD_PAYLOAD_SIZE)
|
||||
#define HCI_ACL_BUFFER_SIZE (HCI_ACL_HEADER_SIZE + HCI_ACL_PAYLOAD_SIZE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user