11764 Commits

Author SHA1 Message Date
Matthias Ringwald
38336af48c test/gatt_client: update mocking code 2020-11-18 11:43:13 +01:00
Milanka Ringwald
cad352fab6 test/avdtp_sink: update test sequences 2020-11-18 09:51:50 +01:00
Milanka Ringwald
dcf436d1f1 avdtp: use configuration array as user provided storage 2020-11-18 09:51:11 +01:00
Milanka Ringwald
d47b24a315 test/avdtp: update test code to use local codec configuration 2020-11-17 15:04:03 +01:00
Milanka Ringwald
619205264f avrcp: fix reading packet type from vendor specific responses 2020-11-17 14:42:36 +01:00
Milanka Ringwald
2686781a2a test/avrcp: register media packet handler, updated test info 2020-11-17 14:42:36 +01:00
Matthias Ringwald
cb5a7fc3c5 posix: enumerate timers in in btstack_run_loop_posix_dump_timer 2020-11-16 21:19:05 +01:00
Matthias Ringwald
7ab974d945 btstack_crypto: assert if software ECC is not used but controller does not support ECDH operations 2020-11-16 18:57:52 +01:00
Matthias Ringwald
ccaaedd976 chagelog update 2020-11-16 17:15:13 +01:00
Matthias Ringwald
12cfdebd98 gatt_client: fix compile without privacy resolution enabled 2020-11-16 16:32:09 +01:00
Matthias Ringwald
a95ca902cd gatt_client: delete bonding information if proactive authentication not enabled on re-encryption error 2020-11-16 15:46:30 +01:00
Matthias Ringwald
618530febb gatt_client: remove unused addr/type fields 2020-11-16 15:46:30 +01:00
Matthias Ringwald
d77906ff3a sm: emit pairing complete only one of the pairing started events was sent before 2020-11-16 15:46:30 +01:00
Matthias Ringwald
68a18fb949 sm: explicitly call sm_reencryption_complete instead of letting sm_pairing_complete call it 2020-11-16 15:46:30 +01:00
Matthias Ringwald
60be5b2113 sm: only emit reencryption complete if reencryption was active 2020-11-16 15:46:30 +01:00
Matthias Ringwald
39620ea5de example/sm_pairing: improve console output 2020-11-16 15:46:19 +01:00
Matthias Ringwald
e8edf5acf3 example/sm_pairing_central: delete bonding information and trigger pairing after re-encryption failure 2020-11-12 22:26:47 +01:00
Matthias Ringwald
cb6d7eb094 sm: support pairing as Central after failed re-ecnryption 2020-11-12 22:26:47 +01:00
Matthias Ringwald
408cf7d807 sm: don't disconnect on authentication failure 2020-11-12 22:26:47 +01:00
Matthias Ringwald
175b7faa75 sm: use switch in sm_request_pairing 2020-11-12 22:26:47 +01:00
Matthias Ringwald
41ce31d997 sm: add state for 're-encryption failed' 2020-11-12 22:26:47 +01:00
Matthias Ringwald
4f384501ec gap: gap_delete_bonding removes device from LE Resolving List and from discards LE bonding information 2020-11-12 22:26:47 +01:00
Milanka Ringwald
3d7769a759 test/pts: update avrcp test instructions 2020-11-12 11:52:14 +01:00
Milanka Ringwald
ff4468f194 test/pts: fix avdtp_source_test 2020-11-12 11:52:14 +01:00
Matthias Ringwald
3c8fe1244c gatt_client: fix unused warning 2020-11-12 11:50:14 +01:00
Matthias Ringwald
1dfae9c744 gatt_client: cache security level 2020-11-12 11:35:19 +01:00
Matthias Ringwald
11279da7cd gatt_client: add gatt_client_set_required_security_level 2020-11-12 11:35:19 +01:00
Matthias Ringwald
6c124bc24f gatt_client: report error if re-encryption fails 2020-11-12 11:35:19 +01:00
Matthias Ringwald
8918bbdafc gatt_client: track re-encryption status and result 2020-11-12 11:35:19 +01:00
Matthias Ringwald
ec9babacc5 gatt_client: abort request if re-encryption fails 2020-11-12 11:35:19 +01:00
Matthias Ringwald
72e4a9af56 gatt client: register for sm events for proactive authentication 2020-11-12 11:35:19 +01:00
Matthias Ringwald
b15d5cea35 gatt_client: drop notifications/indications until IRK and re-encryption are complete as Responder 2020-11-12 11:35:19 +01:00
Matthias Ringwald
c90e270f6c gatt_client: drop notifications/indications as Central until re-encrypted 2020-11-12 11:35:19 +01:00
Matthias Ringwald
7e65711b3f sm pairing examples: print re-encryption events 2020-11-12 11:35:19 +01:00
Matthias Ringwald
94cfa0e86e sm: delete code drop bonding information if there's a disconnect during re-encryption (does not happen) 2020-11-12 11:35:19 +01:00
Matthias Ringwald
5567aa60af sm: use PH4 for re-encryption of bonded devices, merge ph4 w4 encryption responder and initiator states 2020-11-12 11:35:19 +01:00
Matthias Ringwald
8d4eef95e2 sm: add SM_RESPONDER_PH4_W4_CONNECTION_ENCRYPTED and handle with peripheral role to emit re-encryption complete event 2020-11-12 11:35:19 +01:00
Matthias Ringwald
42646f3875 sm: emit re-encryption started for peripheral without proactive authentication 2020-11-12 11:35:19 +01:00
Matthias Ringwald
3ab61f7786 sm: emit re-encryption started only once 2020-11-12 11:35:19 +01:00
Matthias Ringwald
7b001f4e10 sm: move sm_reencryption_active into sm_connection 2020-11-12 11:34:43 +01:00
Matthias Ringwald
f61072f5b4 sm: send re-encryption complete on pairing complete if re-encryption started was sent earlier 2020-11-12 11:34:43 +01:00
Matthias Ringwald
0ccf6c9c72 sm: sm_notify_client_status_reason -> sm_pairing_complete 2020-11-12 11:34:43 +01:00
Matthias Ringwald
731027689f sm: emit re-encryption complete for smp timeout if re-encryption started was sent before 2020-11-12 11:34:43 +01:00
Matthias Ringwald
32bc5d6525 sm: emit sm re-encryption started when bonding information becomes available and authentication starts 2020-11-12 11:34:43 +01:00
Matthias Ringwald
c9f757023b sm: sm_notify_client_reencryption -> sm_notify_client_reencryption_complete 2020-11-12 11:34:43 +01:00
Matthias Ringwald
fbe050be02 sm: emit sm re-encryption complete for Encyption Change / Central role 2020-11-12 11:34:43 +01:00
Matthias Ringwald
6c44b7598c sm: send security request on re-connect if bonded (ENABLE_LE_PROACTIVE_AUTHENTICATION) 2020-11-12 11:29:51 +01:00
Matthias Ringwald
bd935e6ec5 sm: fix unused warning 2020-11-12 11:29:51 +01:00
Matthias Ringwald
dc8ca3721a sm: set sm_security_request_received if not handled immediately 2020-11-12 11:29:51 +01:00
Matthias Ringwald
6a43f61171 sm: replace ENABLE_LE_CENTRAL_AUTO_ENCRYPTION with ENABLE_LE_PROACTIVE_AUTHENTICATION 2020-11-12 11:29:51 +01:00