mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 15:40:11 +00:00
use l2cap mtu for att server
This commit is contained in:
parent
2e223452ff
commit
4c427ab8e2
@ -124,7 +124,7 @@ static void att_event_packet_handler (uint8_t packet_type, uint16_t channel, uin
|
||||
bt_flip_addr(att_client_address, &packet[8]);
|
||||
// reset connection properties
|
||||
att_connection.con_handle = READ_BT_16(packet, 4);
|
||||
att_connection.mtu = 23;
|
||||
att_connection.mtu = l2cap_max_mtu_for_handle(peripheral->handle);;
|
||||
att_connection.encryption_key_size = 0;
|
||||
att_connection.authenticated = 0;
|
||||
att_connection.authorized = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user