mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
correct ATT_MTU_EXCHANGE_COMPLETE event generation
This commit is contained in:
parent
c3e2973e56
commit
142d429464
@ -108,7 +108,7 @@ static void att_emit_mtu_event(uint16_t handle, uint16_t mtu){
|
||||
|
||||
if (!att_client_packet_handler) return;
|
||||
|
||||
uint8_t event[5];
|
||||
uint8_t event[6];
|
||||
int pos = 0;
|
||||
event[pos++] = ATT_MTU_EXCHANGE_COMPLETE;
|
||||
event[pos++] = sizeof(event) - 2;
|
||||
|
Loading…
Reference in New Issue
Block a user