3677 Commits

Author SHA1 Message Date
Matthias Ringwald
4acf7b7b5f sm: set ra/rb for OOB pairing 2018-04-03 15:45:10 +02:00
Matthias Ringwald
a680ba6b58 sm: add sm_register_sc_oob_data_callback, verify received OOB data 2018-04-03 13:43:57 +02:00
Matthias Ringwald
c59d0c922e sm: add sm_generate_sc_oob_data 2018-04-02 21:53:17 +02:00
Matthias Ringwald
65a9a04ea0 sm: SC OOB working without any OOB data checks - basically Just Works 2018-04-02 19:47:08 +02:00
Matthias Ringwald
0af429c6ec sm: fix decline bonding for secure connections 2018-03-31 21:38:25 +02:00
Matthias Ringwald
644c6a1da3 sm: avoid pairing failure when user response triggers packet transmission 2018-03-31 18:48:30 +02:00
Matthias Ringwald
dd4a08fb5a sm: re-implement sending of keypress notifications 2018-03-31 18:28:36 +02:00
Matthias Ringwald
ae451ec5d9 sm: fix verification of confirm value for SC JW/NC in Iniator role 2018-03-30 23:38:28 +02:00
Matthias Ringwald
03f736b157 sm: fix accidental SM_EVENT_PAIRING_COMPLETE on HCI Disconnect 2018-03-30 23:07:26 +02:00
Matthias Ringwald
dc3878e895 sm: request signing key only when bonding and ENABLE_LE_SIGNED_WRITE (fix) 2018-03-30 22:27:40 +02:00
Matthias Ringwald
bb09604f2e sm: request signing key only when bonding and ENABLE_LE_SIGNED_WRITE 2018-03-30 22:22:19 +02:00
Matthias Ringwald
27ef8bc836 sm: store pairing information only if both devices have requested bonding 2018-03-30 20:06:58 +02:00
Matthias Ringwald
1b7acd0d7f att_server: handle SM_EVENT_PAIRING_COMPLETE 2018-03-30 20:04:06 +02:00
Matthias Ringwald
09ea1b6290 sm: rename sm_boding_requested to sm_pairing_requested 2018-03-30 19:07:19 +02:00
Matthias Ringwald
b1ec855b75 att_db_util: fix flags for CCC 2018-03-29 17:43:14 +02:00
Matthias Ringwald
fd1be25d18 att_db: add att db version as first byte, report error if version differs (also works for older db without version byte) 2018-03-29 17:22:12 +02:00
Matthias Ringwald
eeeae29572 att_db: replace code for read without authentication with new read/write security levels 2018-03-29 17:22:12 +02:00
Matthias Ringwald
93fc301256 att_db: new property values for required read/write security level 2018-03-29 17:22:12 +02:00
Matthias Ringwald
1dd680d776 att_db: validate security level for read vs. write 2018-03-29 17:22:12 +02:00
Matthias Ringwald
9d622fde0d att_db: pass att operation mode read/write to att_validate_security 2018-03-29 17:22:12 +02:00
Matthias Ringwald
518b9ae3d6 att: drop unused ATT_DB_PERSISTENT_WRITE_CCC 2018-03-29 17:05:05 +02:00
Matthias Ringwald
192365fe94 sm: allow to simulate pairing failures for testing (requires ENABLE_TESTING_SUPPORT) 2018-03-27 14:42:09 +02:00
Matthias Ringwald
a70e17d4c9 GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections (fix) 2018-03-22 15:40:46 +01:00
Matthias Ringwald
bba111e7fb att_dispatch: trigger another can send now on client request 2018-03-22 15:20:26 +01:00
Matthias Ringwald
7fd7aa6f98 gap: ignore gap_disconnect if already disconnected 2018-03-16 15:50:28 +01:00
Matthias Ringwald
e3012924eb btstack_link_key_db_static: add iterator 2018-03-16 15:45:17 +01:00
Matthias Ringwald
404999fe25 btstack_link_key_db_memory: add iterator 2018-03-16 15:45:03 +01:00
Matthias Ringwald
e8e7403e04 att: support for delayed att read response 2018-03-16 11:19:34 +01:00
Matthias Ringwald
e404a68886 att: support for delayed att read response 2018-03-16 11:19:34 +01:00
Matthias Ringwald
75130320d7 le_device_db_tlv: check if entry exists before decreasing count 2018-03-15 17:37:26 +01:00
Matthias Ringwald
092ec58e5a sm: use le_device_db_max_count() to iterate over all le device db entries 2018-03-15 16:32:34 +01:00
Matthias Ringwald
6fc9dda195 le_device_db: add le_device_db_max_count() for index iteration 2018-03-15 16:25:59 +01:00
Milanka Ringwald
605d1b1db1 hsp hs: accept incoming sco connection 2018-03-14 15:58:09 +01:00
Milanka Ringwald
b100348fc7 hsp hs: accept incoming sco connection 2018-03-14 15:55:26 +01:00
Milanka Ringwald
53c654feee btstack util: fix docu 2018-03-14 15:52:40 +01:00
Milanka Ringwald
895f6685f2 hci: fix debug output for incomming SCO connection 2018-03-14 12:59:31 +01:00
Matthias Ringwald
98cc33c4b3 att_dispatch: avoid infinite recursion if no packet handler defined and can send now gets requested (which is not correct) 2018-03-12 15:39:25 +01:00
Matthias Ringwald
6b896dfc53 rfcomm: fix infinite loop on l2cap connection establishmend error 2018-03-12 12:32:22 +01:00
Milanka Ringwald
64971d1e6e avrcp target: remove wrong break 2018-03-09 16:45:23 +01:00
Milanka Ringwald
a2466f3175 a2dp_source: use correct event on signaling connection failure, extract emit functions 2018-03-09 16:45:23 +01:00
Matthias Ringwald
9737a146d4 bluetooth_gatt.h: regenerated after typo fixed 2018-03-09 13:05:03 +01:00
Matthias Ringwald
fd75a1c570 att_db: detect persistent ccc by attribute uuid instead of explicit flag 2018-03-02 12:14:18 +01:00
Matthias Ringwald
451d6789e1 GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections (fix) 2018-03-02 11:55:59 +01:00
Matthias Ringwald
d4e4907bbd GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections (fix) 2018-03-02 11:53:30 +01:00
Matthias Ringwald
51e0c94cf6 att_db: pass att iterator into att_persistent_ccc_cache 2018-03-02 11:44:49 +01:00
Matthias Ringwald
2b6ab3e64e GAP: allow to limit number of connections in LE Peripheral role with gap_set_max_number_peripheral_connections 2018-03-01 17:45:42 +01:00
Milanka Ringwald
9900b7faad a2dp source: reject incorrectly initiated incoming media connection 2018-02-23 15:13:18 +01:00
Matthias Ringwald
6155bae02d att_server: fix handling of ATT_EVENT_MTU_EXCHANGE_COMPLETE 2018-02-22 12:26:38 +01:00
Matthias Ringwald
bd87a16ea0 att_server: fix handling of ATT_EVENT_MTU_EXCHANGE_COMPLETE 2018-02-22 12:20:36 +01:00
Milanka Ringwald
578eda3e1c a2dp source: fix walk through dicovered remote seps for finding SBC media codec capapbility 2018-02-20 15:50:36 +01:00