mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +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;
|
if (!att_client_packet_handler) return;
|
||||||
|
|
||||||
uint8_t event[5];
|
uint8_t event[6];
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
event[pos++] = ATT_MTU_EXCHANGE_COMPLETE;
|
event[pos++] = ATT_MTU_EXCHANGE_COMPLETE;
|
||||||
event[pos++] = sizeof(event) - 2;
|
event[pos++] = sizeof(event) - 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user