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 |
|
Matthias Ringwald
|
3b7fd749ad
|
sm: block connection if encryption fails for bonded device as Central
|
2020-11-12 11:29:51 +01:00 |
|
Matthias Ringwald
|
fee35eba89
|
btstack_defines: add SM_EVENT_REENCRYPTION_START and COMPLETE
|
2020-11-12 11:29:51 +01:00 |
|
Matthias Ringwald
|
48f33f37eb
|
fix unused warnings
|
2020-11-07 17:31:32 +01:00 |
|
Matthias Ringwald
|
2c0de6c948
|
port/daemon: add enable printf hexdump
|
2020-11-06 14:38:41 +01:00 |
|
Matthias Ringwald
|
12a574e512
|
btstack_defines: drop unused SM events
|
2020-11-06 14:32:15 +01:00 |
|
Matthias Ringwald
|
a66b030f2e
|
sm: fix spelling
|
2020-11-06 14:32:15 +01:00 |
|
Milanka Ringwald
|
41e404d30d
|
tools: update btstack_root
|
2020-11-06 14:20:22 +01:00 |
|
Milanka Ringwald
|
d3ea2236fc
|
config: cleanup
|
2020-11-06 14:13:47 +01:00 |
|
Milanka Ringwald
|
39426e8a44
|
test/config: add ENABLE_PRINTF_HEXDUMP
|
2020-11-06 14:07:45 +01:00 |
|
Milanka Ringwald
|
02a3cd7f00
|
test/config: sort defines alphabetically
|
2020-11-06 14:03:27 +01:00 |
|
Milanka Ringwald
|
3e90877db8
|
tools: don't use binary flag for opening text files
|
2020-11-06 13:55:00 +01:00 |
|
Milanka Ringwald
|
46059ae4c6
|
btstack_util: provide printf_hexdump if ENABLE_PRINTF_HEXDUMP is defined in btstack_config.h
|
2020-11-06 13:44:10 +01:00 |
|
Milanka Ringwald
|
da3afb49ed
|
config: tool for updating port configurations
|
2020-11-06 13:42:47 +01:00 |
|
Milanka Ringwald
|
9eb40423ac
|
config: remove copyright
|
2020-11-06 13:40:05 +01:00 |
|
Milanka Ringwald
|
606ccc9bdf
|
config: add ENABLE_PRINTF_HEXDUMP
|
2020-11-06 12:06:11 +01:00 |
|