11764 Commits

Author SHA1 Message Date
Matthias Ringwald
dd12a62b2e sm: move SM_RESPONDER_PH0_RECEIVED_LTK_REQUEST code into sm_run
remove SM_RESPONDER_PH4_Y_GET_ENC
2020-10-29 11:53:37 +01:00
Matthias Ringwald
b26f445ff2 sm: move SM_INITIATOR_PH1_W2_SEND_PAIRING_REQUEST code into sm_run
remove SM_INITIATOR_PH1_SEND_PAIRING_REQUEST
2020-10-29 11:39:39 +01:00
Matthias Ringwald
f32b7a88e6 sm: move SM_INITIATOR_PH0_HAS_LTK code into sm_run
remove  SM_INITIATOR_PH0_SEND_START_ENCRYPTION
2020-10-29 11:39:05 +01:00
Matthias Ringwald
178e8c1b8f sm: defer sending security request until ec key is ready 2020-10-29 11:33:52 +01:00
Matthias Ringwald
30c8e1142e Revert "sm: delete unused ir_loopup_active"
This reverts commit bac48def6980b39e32241a04b057248e72bd89b2.
2020-10-28 09:04:11 +01:00
Matthias Ringwald
bac48def69 sm: delete unused ir_loopup_active 2020-10-27 18:48:19 +01:00
Matthias Ringwald
d20e3046cb enable asserts for all desktop ports 2020-10-27 18:30:56 +01:00
Matthias Ringwald
51342da5f4 libusb: treat warnings as errors in cmake build 2020-10-27 18:19:58 +01:00
Matthias Ringwald
e5d43f34a8 panu_demo: avoid unused var warnings if client mode is disabled 2020-10-27 18:16:56 +01:00
Matthias Ringwald
a8d51f092f add missing default switch cases 2020-10-27 18:16:17 +01:00
Matthias Ringwald
f7b7cba197 libusb: enabled additional compiler warnings depending on compiler 2020-10-27 17:57:32 +01:00
Milanka Ringwald
e0d13a1902 avoid warning for set but unused variables when log_info and log_error are disabled 2020-10-27 14:34:31 +01:00
Milanka Ringwald
7bbeb3ad8c add missing default switch cases 2020-10-27 13:44:55 +01:00
Matthias Ringwald
24fd61d9d3 l2cap: streamline security level request for outgoing classic connections 2020-10-26 18:28:26 +01:00
Milanka Ringwald
4e8fbd23e5 docu: update btstack_protocols pict 2020-10-26 11:44:19 +01:00
Milanka Ringwald
07d1c69f03 docu: move stack configuration info from example top to 'how to configure btstack' 2020-10-26 10:51:07 +01:00
Matthias Ringwald
fa529fa70e tool/compile_gatt: mark profile_data as constexpr for C++11 2020-10-23 16:31:52 +02:00
Matthias Ringwald
d51536280e a2dp: restore event/subevent id after executing callback 2020-10-23 15:49:40 +02:00
Milanka Ringwald
ec8ae085b4 docu: copy editing examples titles 2020-10-23 09:55:01 +02:00
Matthias Ringwald
c3898ca4c0 hci: fix reject of LE remote connection param request via HCI 2020-10-21 15:28:41 +02:00
Matthias Ringwald
5b81740276 changelog: update 2020-10-21 14:38:28 +02:00
Matthias Ringwald
1e122704da gap: add gap_bonded to check if bonding information is available for active connection 2020-10-21 14:34:35 +02:00
Matthias Ringwald
99c44ab2c7 sm_pairing_peripheral: fix IO Capabilities for Secure Connections with Just Works 2020-10-21 14:34:35 +02:00
Milanka Ringwald
13820c00da docu: updated titles of examples 2020-10-21 11:06:03 +02:00
Milanka Ringwald
808187d876 docu: remove file name from title, and add it below with link to source code; sort examples 2020-10-21 10:46:29 +02:00
Matthias Ringwald
d38af6c062 test/security_manager_sc: retry test on unecxected disconnect 2020-10-20 14:45:52 +02:00
Matthias Ringwald
092fc1dbc5 test/security_manager_sc: print message on disconnect after working state was reached 2020-10-20 14:43:42 +02:00
Matthias Ringwald
b9a848a405 stm32-sx1280: report ACL buffer size of 16 by Controller until autotx timeout issued is fixed 2020-10-19 22:57:44 +02:00
Matthias Ringwald
52ac3a1484 stm32-sx1280: enable BK SPI for L451 module 2020-10-19 22:57:44 +02:00
Matthias Ringwald
fd9c0d708b stm32-sx1280: prepare for auto tx also if RX had CRC error
extract radio_prepare_auto_tx and call on rx crc error
2020-10-19 22:57:44 +02:00
Matthias Ringwald
565fe80db1 tool/sm_random_check: update to python3 2020-10-16 17:24:22 +02:00
Matthias Ringwald
ea1519740b hci: skip resolving list management if not supported by controller 2020-10-16 17:24:17 +02:00
Matthias Ringwald
57132f1279 sm: implement h7 ctkd
Set CT2 in AuthReq if Bonding+SC+CTKD
2020-10-16 17:24:08 +02:00
Matthias Ringwald
7ece0eaa04 sm: set LinkKey flag if CTKD and SC are active 2020-10-16 16:10:00 +02:00
Matthias Ringwald
edc1ac20b6 gap: skip Legacy Connection Downgrade detection if SC not active 2020-10-16 16:08:22 +02:00
Matthias Ringwald
c214d65b12 hci: track if secure connections have been enabled 2020-10-16 16:08:22 +02:00
Matthias Ringwald
9389122cc3 avdtp: fix compile 2020-10-16 14:32:34 +02:00
Matthias Ringwald
3338afc0d0 avdtp: only use avdtp_get_stream_endpoint_for_seid 2020-10-16 14:08:10 +02:00
Matthias Ringwald
d80ccd43b8 avdtp: streamline request to send for acceptor/initiator signaling connections
avoid stream endpoint lookup by remote seid
2020-10-16 14:07:42 +02:00
Matthias Ringwald
76b0318e1d hci: fix compile 2020-10-14 14:16:13 +02:00
Matthias Ringwald
a8bb045c9d changelog: update 2020-10-14 11:14:44 +02:00
Matthias Ringwald
0a1a2d88e7 sm: only allow CTKD to overwrite existing link key if derived key has same or higher authentication 2020-10-14 11:12:22 +02:00
Matthias Ringwald
0b636a850b sm: check requirements for ctkd sequentially 2020-10-14 10:49:30 +02:00
Matthias Ringwald
bdb14b0eaf sm: fix unreachable code 2020-10-14 10:24:59 +02:00
Matthias Ringwald
55160b1c55 sm: store CTKD key with Public Identity Address 2020-10-13 22:24:24 +02:00
Matthias Ringwald
e8ad470ff8 gap: add gap_get_link_key_for_bd_addr 2020-10-13 18:06:17 +02:00
Matthias Ringwald
8276777316 a2dp source: fix crash on outgoing connection after previous incoming one
The pointer to the user media codec configuration buffer was stored in stream_endpoint.remote_configuration, which was set to zero in avdtp_reset_stream_endpoint. The user buffer is now stored separately and it is updateds when the configuration gets set/updated. The field media_codec_sbc_info is used by a2dp configure and reconfigure.
2020-10-13 13:25:33 +02:00
Matthias Ringwald
44e638f3c1 avdtp: improve log_debug output 2020-10-13 10:53:54 +02:00
Matthias Ringwald
15218b796f cc256x: update TI GIT URL, add rule for bluetooth_init_cc2560C_avpr_1.4.c 2020-10-12 18:57:46 +02:00
Matthias Ringwald
f8cade38b7 a2dp_source: set media codec len 2020-10-12 18:30:23 +02:00