15265 Commits

Author SHA1 Message Date
Matthias Ringwald
ffded21621 btstack_tlv_flash_bank: increase bank header to alignment size 2023-08-29 15:47:13 +02:00
Matthias Ringwald
4a1addd51d btstack_tlv_flash_bank: store value right after header if there's no delete field 2023-08-29 15:28:32 +02:00
Matthias Ringwald
60a3ef1384 btstack_tlv_flash_bank: use store aligned entry header len 2023-08-29 12:21:42 +02:00
Matthias Ringwald
5574c439d5 btstack_tlv_flash_bank: overwrite complete entry with zeroes if we cannot just delete tag due to alignment 2023-08-29 12:21:42 +02:00
Matthias Ringwald
2ea4a5094c btstack_tlv_flash_bank: introduce btstack_tlv_flash_bank_aligned_entry_size 2023-08-29 12:21:42 +02:00
Matthias Ringwald
f268b03a0a btstack_tlv_flash_bank: store aligned entry header len 2023-08-29 12:21:42 +02:00
Matthias Ringwald
9b112178fd btstack_tlv_flash_bank: use BTSTACK_TLV_ENTRY_HEADER_LEN 2023-08-28 17:53:08 +02:00
Matthias Ringwald
1295b09155 btstack_tlv_flash_bank: fix spelling of alignment 2023-08-28 17:46:11 +02:00
Matthias Ringwald
b6c12bd680 btstack_tlv_flash_bank: use BTSTACK_TLV_BANK_HEADER_LEN 2023-08-28 17:43:52 +02:00
Matthias Ringwald
ad3bb41604 test/gatt_client: fix build 2023-08-28 16:06:54 +02:00
Matthias Ringwald
666fdb891c hci: store link key if generated independent from remote auth requirements 2023-08-22 16:19:20 +02:00
Matthias Ringwald
13aed524df sm: only derive LTK if both sides set EncKey bit 2023-08-22 16:18:17 +02:00
Matthias Ringwald
6a718a5e93 sm: reject CTKD over BR in responder role without secure connection or lower authentication than stored LTK 2023-08-22 16:18:17 +02:00
Matthias Ringwald
22cb578bdc sm: extract sm_le_device_db_index_lookup 2023-08-22 16:18:17 +02:00
Matthias Ringwald
94219034bf sm: trigger CTKD after Link Key upgrade to authenticated 2023-08-22 16:18:17 +02:00
Matthias Ringwald
599e89da88 sm: extract sm_event_handle_classic_encryption_event 2023-08-22 16:18:17 +02:00
Matthias Ringwald
57ff474594 sm: trigger CTKD after LTK upgrade to authenticated 2023-08-22 16:18:17 +02:00
Matthias Ringwald
2d68601cd8 sm: trigger re-repairing for bonded devices if auth becomes required 2023-08-22 16:18:16 +02:00
Matthias Ringwald
b322498edf sm: reject CTKD over BR in responder role without secure connection 2023-08-22 16:18:16 +02:00
Matthias Ringwald
b1da498351 gatt_client: increase retry backoff to 150 ms 2023-08-22 16:17:59 +02:00
Matthias Ringwald
6d0f6f4908 gatt_client: retry setup eatt connection if there was a setup collision 2023-08-22 16:17:59 +02:00
Matthias Ringwald
df0a5c6801 gatt_client: prepare eatt code for connect retry 2023-08-22 16:17:59 +02:00
Matthias Ringwald
9828b48a18 att_server: reject incoming eatt connection if outgoing connection is active 2023-08-22 16:17:59 +02:00
Matthias Ringwald
570bdd2d21 gatt_client: track outgoing eatt connections 2023-08-22 16:17:59 +02:00
Matthias Ringwald
ab6f9d8f7c gatt_client: handle l2cap connection fail without active hci connection 2023-08-22 16:17:49 +02:00
Matthias Ringwald
9ed6f53c12 att_dispatch: update att_server.l2cap_cid in lower layer 2023-08-22 16:17:49 +02:00
Matthias Ringwald
434166e3bd att_dispatch: forward l2cap channel closed 2023-08-22 16:17:49 +02:00
Matthias Ringwald
180cbe7900 gatt_client: retry outgoing l2cap connection due to collision 2023-08-22 16:17:41 +02:00
Matthias Ringwald
4e39f390ad att_dispatch: track incoming connection while outgoing is active 2023-08-22 16:17:41 +02:00
Matthias Ringwald
476bb9c4a8 att_dispatch: decline classic connection when outgoing active 2023-08-22 16:17:41 +02:00
Matthias Ringwald
052dc82a0a gatt_client: rename gatt_client_t fields 2023-08-22 16:17:41 +02:00
Matthias Ringwald
74daebdebc gatt_client: emit connected if (shared) classic bearer already exists 2023-08-22 16:17:41 +02:00
Matthias Ringwald
1c7a19fe74 gatt_client: extract gatt_client_emit_connected 2023-08-22 16:17:41 +02:00
Matthias Ringwald
3b0e0cc58b gatt_client: fix error handling for failed sdp query 2023-08-22 16:17:41 +02:00
Matthias Ringwald
52e211de8e att_server: move classic packet handling into att dispatch handler 2023-08-22 16:17:41 +02:00
Matthias Ringwald
fd3d2f4c4d att_dispatch: forward att pdu from classic 2023-08-22 16:17:41 +02:00
Matthias Ringwald
e6dbc98e5d att_dispatch: extract att_dispatch_handle_att_pdu 2023-08-22 16:17:41 +02:00
Matthias Ringwald
4c22687684 gatt_client: use can send / request to send from att dispatch 2023-08-22 16:07:59 +02:00
Matthias Ringwald
328bed13c0 att_server: use can send / request to send from att dispatch 2023-08-22 16:07:59 +02:00
Matthias Ringwald
59b5e1571f gatt_client: use att_dispatch_classic_connect 2023-08-22 16:07:59 +02:00
Matthias Ringwald
6bf42d1f56 att_server: register classic att server via att_dispatch 2023-08-22 16:07:59 +02:00
Matthias Ringwald
1f4d0bc61f att_dispatch: add att_dispatch_classic_connect 2023-08-22 16:07:46 +02:00
Matthias Ringwald
d385c90e9d att_dispatch: add att_dispatch_classic_register_service 2023-08-22 16:07:46 +02:00
Matthias Ringwald
72df296c2f att_dispatch: support can send now for classic 2023-08-22 16:07:46 +02:00
Matthias Ringwald
9eba80a6c9 att_dispatch: extract att_dispatch_handle_can_send_now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
5fd2be408f att_dispatch: support gatt over classic for request can send now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
0cd55b6c9f att_dispatch: extract att_dispatch_classic_get_l2cap_cid 2023-08-22 16:07:46 +02:00
Matthias Ringwald
eb65899c12 att_dispatch: extract att_dispatch_request_can_send_now_event 2023-08-22 16:07:46 +02:00
Matthias Ringwald
0f376572fd att_dispatch: support gatt over classic in att_dispatch_can_send_now 2023-08-22 16:07:46 +02:00
Matthias Ringwald
e9e0c21eea att_dispatch: extract att_dispatch_can_send_now 2023-08-22 16:07:46 +02:00