3766 Commits

Author SHA1 Message Date
Matthias Ringwald
31a592581c rfcomm: fix enum name 2018-05-22 11:08:13 +02:00
Matthias Ringwald
03751aa7c8 sdp_server: fix calculation of response buffer size 2018-05-22 10:40:45 +02:00
Matthias Ringwald
f4b33574b8 gatt_client: if ENABLE_GATT_CLIENT_PAIRING, GATT Client starts pairing and retry operation on security error 2018-05-18 11:22:37 +02:00
Matthias Ringwald
34c39fbd75 sm: only start encryption using stored bonding info as central after address resolution success 2018-05-18 11:14:27 +02:00
Matthias Ringwald
9909e5e4c9 l2cap: add missing switch break 2018-05-17 16:42:06 +02:00
Matthias Ringwald
03a9359afe sm: encryption change event concludes re-encryption for bonded devices (even if it fails) 2018-05-17 16:13:25 +02:00
Matthias Ringwald
cbbb12d994 att_server: add att_server_request_to_send_notification and att_server_request_to_send_indication 2018-05-17 15:53:39 +02:00
Matthias Ringwald
969a5bba93 att_server: keep can send now requests sorted by connection 2018-05-17 15:04:34 +02:00
Matthias Ringwald
5f141511e0 att_server: implement att_server_request_can_send_now_event internally using a btstack_context_callback_registration_t struct 2018-05-17 13:36:10 +02:00
Milanka Ringwald
04bb12a166 att server: remove line that rewrites context var 2018-05-16 16:41:20 +02:00
Matthias Ringwald
a3069afebb hci: calculate sco_packet_length based on number of concurrent sco connections - fixes #129 2018-05-15 17:18:01 +02:00
Matthias Ringwald
cf119f3b14 hci: calculate sco_packet_length based on number of concurrent sco connections - fixes #129 2018-05-15 17:14:24 +02:00
Matthias Ringwald
b64a5f121f
Merge pull request #128 from apmorton/features/pre-buffer-fix
hci: allow HCI_OUTGOING_PRE_BUFFER_SIZE to be overridden in btstack_config.h
2018-05-15 16:30:33 +02:00
Milanka Ringwald
b58c6eb905 att_server: fix lookup for Client Characteristic Configuration in services with multiple Characteristics 2018-05-15 16:00:02 +02:00
Matthias Ringwald
c7e2c1a542 sm: improve le_device_db lookup and storing of IRK 2018-05-15 09:25:02 +02:00
Austin Morton
4ccd6018f1 hci: allow HCI_OUTGOING_PRE_BUFFER_SIZE to be overridden in btstack_config.h 2018-05-14 20:03:04 -04:00
Matthias Ringwald
9650eb2f69 le_device_db_tlv: fix seq nr management 2018-05-14 20:49:13 +02:00
Matthias Ringwald
d1e1a57fd3 gatt_client: wait until central re-encryption is complete 2018-05-14 17:34:37 +02:00
Matthias Ringwald
0234fbbca9 att_server: wait until central re-encryption is complete 2018-05-14 17:34:24 +02:00
Matthias Ringwald
dcd6c9b595 gap: add gap_reconnect_security_setup_active indicating security setup as central 2018-05-14 17:08:16 +02:00
Matthias Ringwald
d4af1595c7 sm: start encryption as central if bonded 2018-05-14 17:08:10 +02:00
Matthias Ringwald
f697eb5c91 sm: report if ltk available after identity resolving succeeded 2018-05-14 17:07:13 +02:00
Matthias Ringwald
febc14f55d hfp_ag: extract hfp_ag_send_commands, call rfcomm_request_can_send_now if command was sent 2018-05-14 12:30:02 +02:00
Matthias Ringwald
f0aeb307ce hfp_ag: hfp_run_for_context -> hfp_ag_run_for_context 2018-05-14 12:18:23 +02:00
Matthias Ringwald
275aafe88f sm: assert that hci commands can be sent before LTK negative reply 2018-05-11 16:23:24 +02:00
Milanka Ringwald
d5d6b232dd heart rate server: docu 2018-05-11 16:16:07 +02:00
Milanka Ringwald
46e18d797d heart rate server: add support energy extended field, fix flags construction on send 2018-05-11 16:16:07 +02:00
Milanka Ringwald
5d3bf30aab heart rate server: handle notify, read, write 2018-05-11 16:16:07 +02:00
Milanka Ringwald
adc3e7d5ae heart rate service: api 2018-05-11 16:16:07 +02:00
Matthias Ringwald
959e3c06d9 hfp_hf: fix documentation 2018-05-11 15:32:26 +02:00
Matthias Ringwald
d7f6b5cbab hfp_hf: add hfp_hf_in_band_ringtone_active 2018-05-11 15:23:12 +02:00
Matthias Ringwald
bdf572f420 hfp: log hfp context creation 2018-05-11 12:44:58 +02:00
Matthias Ringwald
eddc894f0f SM: Fix LE Secure Connection pairing in Central role 2018-05-10 18:19:31 +02:00
Matthias Ringwald
fa087dea27 hci_dump: prefix LOG_LEVELs with HCI_DUMP_ 2018-05-09 14:56:47 +02:00
Matthias Ringwald
0c1b8529e8 hfp_ag: emit HFP_SUBEVENT_CALL_TERMINATED on AT+CHUP from HF 2018-05-08 12:00:24 +02:00
Matthias Ringwald
49aa330baa att_server: check if connection handle is valid before queue can send now request (fix) 2018-05-07 22:21:09 +02:00
Matthias Ringwald
86da9d7414 hfp_ag: fix sending of HF Supported Features 2018-05-07 16:46:01 +02:00
Matthias Ringwald
c0ad1b8596 hfp: log command parsing 2018-05-07 15:09:40 +02:00
Matthias Ringwald
186dd3d22a hfp: improve log_info for rfcomm data 2018-05-07 14:55:39 +02:00
Matthias Ringwald
66c5995fad hfp_ag: ignore hfp hf contexts in iterators 2018-05-04 23:12:11 +02:00
Matthias Ringwald
83d08d7c4e gap: don't emit security level while security request is active. fixes l2cap disconnect caused by parallel SDP connection 2018-04-30 21:27:10 +02:00
Matthias Ringwald
7f6c636291 avrcp: fix log_error if avrcp context lookup fails 2018-04-30 14:12:19 +02:00
Matthias Ringwald
45a58b3093 GAP: security level for Classic protocols (asides SDP) raised to 2 (encryption) 2018-04-30 11:59:08 +02:00
Matthias Ringwald
4e6fa3a2bb l2cap: annotate API - prepared buffer can only be used for L2CAP Basic Mode 2018-04-30 11:51:28 +02:00
Matthias Ringwald
8bea14f288 att_db_util: fix permission encoding 2018-04-30 11:41:56 +02:00
Matthias Ringwald
15f22304d2 att_db: add lookup of 128 bit UUIDs 2018-04-30 11:34:35 +02:00
Matthias Ringwald
ae89fd3ac3 att_server: check if connection handle is valid before queue can send now request 2018-04-30 11:31:22 +02:00
Milanka Ringwald
8c79e1682c avrcp controller: add press and hold cmds 2018-04-27 15:40:24 +02:00
Milanka Ringwald
355a220f69 avrcp target: reject invalid pid 2018-04-27 14:12:22 +02:00
Milanka Ringwald
6704943572 avrcp target: reject incorect pid 2018-04-27 12:19:01 +02:00