11831 Commits

Author SHA1 Message Date
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
Milanka Ringwald
36327e5a47 config: sort defines alphabetically 2020-11-06 12:01:26 +01:00
Milanka Ringwald
a375e3dadb config: remove commented defines 2020-11-06 11:45:43 +01:00
Milanka Ringwald
650b64aa21 include stdio only if printf used 2020-11-05 14:08:09 +01:00
Milanka Ringwald
8aee7659ad delete commented code 2020-11-05 14:07:13 +01:00
Milanka Ringwald
6e7485d0cb avrcp_controller: allow to send multiple absolute volume commands without waiting for response. 2020-11-05 11:33:09 +01:00
Milanka Ringwald
022b77fc16 avrcp_controller: rename transaction_label 2020-11-05 11:33:09 +01:00
Milanka Ringwald
23773c45a3 avrcp_controller: track transaction per connection 2020-11-05 11:33:09 +01:00
Matthias Ringwald
dd583d9fc5 sm: fix update of sc flag for re-encrypted connection in peripheral role
# Conflicts:
#	CHANGELOG.md
2020-11-04 16:10:07 +01:00
Milanka Ringwald
6ccd824859 update python scripts to python3 2020-11-03 15:19:00 +01:00
Matthias Ringwald
f508b9c49c stm32-sx1280: update L451 readme 2020-11-02 19:57:11 +01:00
Matthias Ringwald
00652864b7 stm32-sx1280: respond to scan request 2020-11-02 19:50:33 +01:00
Matthias Ringwald
85bc6c7f3d stm32-sx1280: preload adv + scan data into tx0/tx1 2020-11-02 19:50:33 +01:00
Matthias Ringwald
2fac2f8a90 stm32-sx1280: split spi_tx_then_rx into spi_tx and spi_rx, temp disable DMA 2020-11-02 19:50:33 +01:00
Matthias Ringwald
c0c089bbef stm32-sx1280: avoid memset + memcpy for read buffer via dma 2020-11-02 19:50:33 +01:00
Matthias Ringwald
78bb22e917 stm32-sx1280: implement DMA TX only and TX+RX
# Conflicts:
#	port/stm32-l073rz-nucleo-sx1280/Inc/main.h
2020-11-02 19:50:33 +01:00
Matthias Ringwald
ec59e7868b stm32-sx1280: use 32 bytes for read/write buffer test 2020-11-02 19:50:33 +01:00
Matthias Ringwald
da16b0c648 Revert "stm32-sx1280: report ACL buffer size of 16 by Controller until autotx timeout issued is fixed"
This reverts commit b9a848a40577fe2a43717382c19aab221f956231.
2020-11-02 19:49:30 +01:00
Matthias Ringwald
02e972ab63 stm32-sx1280: use 250 us in SetRx as it seems to apply to AutoTx as well 2020-11-02 19:47:30 +01:00