11831 Commits

Author SHA1 Message Date
Matthias Ringwald
c7684e84ed doc: reorder gatt description 2020-12-08 16:58:13 +01:00
Matthias Ringwald
33676bc673 doc: extend sm, mention security in gatt client
rename gatt client security diagrams
2020-12-08 15:51:51 +01:00
Milanka Ringwald
9b037397d7 plc: avoid cppcheck warnings 2020-12-08 12:03:54 +01:00
Matthias Ringwald
2f7137db90 mesh: annotate incorrect cpp nullpointer warning 2020-12-08 11:59:40 +01:00
Matthias Ringwald
f8737b81da hfp_ag: inline wrapper around hfp_gsm_handler to help static analyzer 2020-12-08 11:57:21 +01:00
Matthias Ringwald
df842b645f avrcp_target: fix compile warning using invalid pointers in memcpy with len == 0 2020-12-08 11:18:27 +01:00
Matthias Ringwald
5c1ef14e99 Revert "sm: abort pairing if bonding information is not deleted in re-erncryption failed handler with ENABLE_LE_PROACTIVE_AUTHENTICATION"
This reverts commit 19a4077283fa3d57318bfca7160559a2adc3fd5a.
2020-12-08 10:36:14 +01:00
Matthias Ringwald
19a4077283 sm: abort pairing if bonding information is not deleted in re-erncryption failed handler with ENABLE_LE_PROACTIVE_AUTHENTICATION 2020-12-07 12:46:06 +01:00
Matthias Ringwald
9b75de03b9 sm: emit re-encryption start/complete(ERROR_CODE_PIN_OR_KEY_MISSING) when receiving pairing request with LTK available 2020-12-07 12:46:06 +01:00
Matthias Ringwald
212d735ee7 sm: introduce SM_RESPONDER_PH1_PAIRING_REQUEST_RECEIVED_W4_IRK to wait for IRK after receiving Pairing Request 2020-12-07 12:46:06 +01:00
Matthias Ringwald
7af5dcd58a sm: send security request after irk complete, emit pairing/re-encryption events 2020-12-07 12:46:06 +01:00
Matthias Ringwald
d3c122774e sm: extract sm_pairing_started 2020-12-07 12:46:06 +01:00
Matthias Ringwald
24c20dc492 sm: inline sm_send_security_request_for_connection 2020-12-07 12:46:06 +01:00
Matthias Ringwald
e8bde1e163 sm: deprecated sm_send_security_request 2020-12-07 12:46:06 +01:00
Matthias Ringwald
bd37f2bf6e sm_pairing examples: handle ERROR_CODE_PIN_OR_KEY_MISSING 2020-12-07 12:46:06 +01:00
Matthias Ringwald
6bc3aba4a0 sm: deprecated sm_send_security_request 2020-12-04 15:16:00 +01:00
Matthias Ringwald
995b878a8a docs: separate central/peripheral security flows 2020-12-03 21:57:37 +01:00
Matthias Ringwald
7cd78c034e sm: emit pairing started event 2020-12-03 20:36:45 +01:00
Matthias Ringwald
7c4db9dc71 sm_pairing examples: report pairing started event 2020-12-03 20:27:49 +01:00
Matthias Ringwald
38c89bb1b7 sm: add SM_EVENT_PAIRING_STARTED 2020-12-03 20:25:14 +01:00
Matthias Ringwald
daac65637f sm: emit re-encryption started in central role after receiving security request 2020-12-03 17:48:10 +01:00
Matthias Ringwald
e9af1bf650 sm: handle LTK request after sending Security Request as Responder without LTK 2020-12-03 13:46:35 +01:00
Matthias Ringwald
3c3e5a84cc example: init gatt client for sm pairing examples, pretty print gatt result 2020-12-02 21:11:07 +01:00
Matthias Ringwald
3c0e26de90 sm: use current peer address for re-encryption events if le device info not available 2020-12-02 21:11:07 +01:00
Matthias Ringwald
b11289a818 gatt_client: improve gatt_client_set_required_security_level description 2020-12-02 21:11:07 +01:00
Matthias Ringwald
77da83a6e0 lwip/dhcp-server: fix warning 2020-12-02 21:11:07 +01:00
Matthias Ringwald
97d2cfbc6f fix warnings for log_info/printf 2020-11-30 14:26:45 +01:00
Matthias Ringwald
e883851f1d fix warnings for log_info/printf 2020-11-30 11:59:26 +01:00
Matthias Ringwald
c15d10d569 example/pbap_client_demo: fix compile without stdin support 2020-11-26 22:07:05 +01:00
Matthias Ringwald
cf31ef9b5b gatt_client: don't trigger pairing for reactive authentication without automatic pairing 2020-11-26 18:12:20 +01:00
Matthias Ringwald
fd14b2051a gatt_client: rewrite sm reencryption complete handling 2020-11-26 18:03:55 +01:00
Matthias Ringwald
e4d159ba3a gatt_client: improve comments 2020-11-26 18:03:55 +01:00
Matthias Ringwald
3503dc74a1 gatt_client: wait_for_pairing_complete -> wait_for_authentication_complete 2020-11-26 18:03:55 +01:00
Matthias Ringwald
e28291c183 sm: return status from encryption complete in SM_EVENT_REENCRYPTION_COMPLETE 2020-11-26 18:03:55 +01:00
Matthias Ringwald
aa9b34e571 sm: abort legacy pairing as initiator when responder echoes confirm 2020-11-25 10:30:31 +01:00
Matthias Ringwald
0763891b99 l2cap: check packet size against local mtu for classic basic channels 2020-11-25 09:30:13 +01:00
Matthias Ringwald
4fc83f45ae l2cap: forward data only in open state 2020-11-25 09:30:13 +01:00
Matthias Ringwald
7d5c2f20da l2cap: use connection handle for channel lookup 2020-11-25 09:30:13 +01:00
Milanka Ringwald
e04eae2275 docs: update le security flow control script 2020-11-24 11:18:28 +01:00
Milanka Ringwald
5b2fa894af tools: prepare script to update Copyright text 2020-11-24 11:18:28 +01:00
Milanka Ringwald
6d2149fcce btstack: add licence to main folder 2020-11-24 11:18:28 +01:00
Matthias Ringwald
2cc326019e bluetooth: improve comment on custom BTstackk ATT Error Codes 2020-11-23 16:50:04 +01:00
Matthias Ringwald
798530bda9 gatt_client: only trigger pairing/re-encryption if client request pending 2020-11-23 16:39:02 +01:00
Milanka Ringwald
8be4ab4986 doc: update le security authenticaiton flow control 2020-11-23 16:19:04 +01:00
Milanka Ringwald
ffc2d37d26 docu: document LE security authentication models 2020-11-23 10:04:32 +01:00
Matthias Ringwald
7eb34b16da test/auto-pts: fix compile 2020-11-22 17:38:38 +01:00
Matthias Ringwald
645e0efae7 gatt_client: return missing keys if re-encryption fails for mandatory authentication 2020-11-20 17:41:27 +01:00
Matthias Ringwald
770186d106 esp32: fix audio sink driver 2020-11-20 14:27:01 +01:00
Matthias Ringwald
0b695730e4 esp32: unify i2s configuration 2020-11-20 14:27:01 +01:00
Matthias Ringwald
2418d9f45c changelog: prepare v1.2 2020-11-20 09:36:24 +01:00