11344 Commits

Author SHA1 Message Date
Matthias Ringwald
d2c939c5c4 avdtp: move prototypes for emit functions into avdtp_util.h 2020-08-19 12:23:05 +02:00
Matthias Ringwald
6c069ec9be avdtp: streamline codec config emit 2020-08-19 12:07:37 +02:00
Matthias Ringwald
4b7d40bbed avdtp: collect all emit functions in avdtp_util 2020-08-19 11:49:12 +02:00
Milanka Ringwald
8a7c69df9b a2dp_source: handle reconfigure, check if initiator 2020-08-19 11:17:16 +02:00
Milanka Ringwald
fb58b87ad7 a2dp_source: notify app on error only for the outgoing connection establishment 2020-08-19 11:17:16 +02:00
Milanka Ringwald
b79396703d a2dp_source: check early if stream endpoint is initialised, later call assert 2020-08-19 11:17:16 +02:00
Milanka Ringwald
c58b84e8cd a2dp_sink: accept connect only if stream endpoint is not configred 2020-08-19 11:17:16 +02:00
Milanka Ringwald
26f6cd9d31 a2dtp: use a2dp helper functions to send events 2020-08-19 11:17:16 +02:00
Milanka Ringwald
906f010c0a a2dp_source: check earlier if stream endpoint is configured 2020-08-19 11:17:16 +02:00
Milanka Ringwald
ab389ce7d5 avdtp: helper functions for emitting A2DP events 2020-08-19 11:17:16 +02:00
Milanka Ringwald
42230d274f a2dp_source: move a2dp sink state to avdtp connection 2020-08-19 11:17:16 +02:00
Milanka Ringwald
dc89bba6ea a2dp_sink: use bool instead of int for send_stream_established_for_outgoing_connection 2020-08-19 11:17:16 +02:00
Milanka Ringwald
426010aa42 a2dp_sink: rename local variables 2020-08-19 11:17:16 +02:00
Milanka Ringwald
f6906c74ea a2dp_sink: use a2dp_emit_signaling_connection_released 2020-08-19 11:17:16 +02:00
Milanka Ringwald
45c1e06ec7 a2dp_source: use a2dp_replace_subevent_id_and_emit_cmd 2020-08-19 11:17:16 +02:00
Milanka Ringwald
b0d30d8aaf avdtp: replace subevent is in existing event and emit it 2020-08-19 11:17:16 +02:00
Milanka Ringwald
0d176b654b avdtp: perform seps discovery on every connections, and stop with the first suitable 2020-08-19 11:17:16 +02:00
Milanka Ringwald
62c4ec8271 avdtp: provide avdtp_get_connections 2020-08-19 11:17:16 +02:00
Milanka Ringwald
87d9d50861 a2dp_source: move app state to connection as a2dp_source_state 2020-08-19 11:17:16 +02:00
Matthias Ringwald
2d5c2a2746 gap: fix mechanism to stop scanning if needed 2020-08-19 10:59:01 +02:00
Matthias Ringwald
05002aec5b hci, mesh_lower_transport: fix warnings 2020-08-18 14:40:22 +02:00
Matthias Ringwald
057ab60c9e hci: fix compile for le peripheral only role 2020-08-17 22:25:05 +02:00
Matthias Ringwald
f75e06ade5 hci: fix compile for le peripheral only role 2020-08-17 22:22:01 +02:00
Matthias Ringwald
d8d859610c changelog: le whitelist management 2020-08-17 18:44:27 +02:00
Matthias Ringwald
6ea9315c7c gap: defer whitelist update for connect with whitelist until create connection cancel has completed 2020-08-17 18:40:02 +02:00
Matthias Ringwald
c163146e41 hci: track outgoing connection address also for connect with whitelist 2020-08-17 18:39:05 +02:00
Matthias Ringwald
34f5575806 gap: keep remote device in whitelist on connection complete 2020-08-17 17:33:51 +02:00
Matthias Ringwald
7a92a9db0f gap: ignore duplicate addition to whitelist 2020-08-17 17:33:30 +02:00
Matthias Ringwald
8b69e4c72c gap: fix gap_scan_params if called before stack has started up, preserve scan type 2020-08-17 17:23:46 +02:00
Matthias Ringwald
a7a719e99a gap: new gap_set_scan_params allows to specify scanning filter policy 2020-08-17 15:46:16 +02:00
Matthias Ringwald
a3b69fde2a gap: provide LE Whitelist API via gap_whitelist_add/remove/clear 2020-08-17 15:34:40 +02:00
Matthias Ringwald
95e257d9ea gap: add gap_connect_with_whitelist, re-implement gap_auto_connect_* functions 2020-08-17 15:19:09 +02:00
Matthias Ringwald
226db5ef76 gap: extract hci_whitelist_add, _remove, _clear 2020-08-17 15:11:54 +02:00
Matthias Ringwald
af64f147df gap: start/stop connect with whitelist based on le_connecting_request/state 2020-08-17 15:06:11 +02:00
Matthias Ringwald
29c24beb69 gap: interleave stop/update/start phases for adv/scan/connecting, disable scan and/or adv if whitelist is used 2020-08-17 12:28:15 +02:00
Matthias Ringwald
fde725fe22 gap: streamline adv/scan/connection management 2020-08-17 12:28:15 +02:00
Matthias Ringwald
bbc366e601 gap: drop adv enable/disable todos, simplify adv management 2020-08-17 12:28:15 +02:00
Matthias Ringwald
85076d74c4 gap: improve name and use bool for whitelist_modification_pending 2020-08-17 12:28:15 +02:00
Matthias Ringwald
13eb2a2e39 gap: enable whitelist management for Central and Peripheral roles 2020-08-17 12:28:15 +02:00
Matthias Ringwald
5a1ca52e61 gap: new gap_set_scan_params allows to specify scanning filter policy 2020-08-17 12:28:15 +02:00
Matthias Ringwald
d32b3f05f5 gap: return command disallowed for new outgoing le connection if already active 2020-08-17 12:26:37 +02:00
Matthias Ringwald
d5b1a89efd hci: track le connection request in addition to le connection state 2020-08-17 12:25:23 +02:00
Matthias Ringwald
eb8076dd4e hci: extract hci_is_le_connection_type 2020-08-17 11:18:03 +02:00
Matthias Ringwald
4a659b0ecf gap: treat AES-CCM encrypted connections as mutually authenticated, fixes #309 2020-08-14 12:22:12 +02:00
Matthias Ringwald
44f858f3f1 hci: gap_request_role is classic-only 2020-08-14 12:00:25 +02:00
Matthias Ringwald
ac10900005 esp32: reduce log output for tlv. remove printf 2020-08-13 22:11:13 +02:00
Matthias Ringwald
d04a455e52 hci: fix missing return in gap_request_role 2020-08-13 21:21:18 +02:00
Matthias Ringwald
88a03c8d01 gap: request role change for classic connection via gap_request_role 2020-08-13 19:41:48 +02:00
Milanka Ringwald
f82b60ef82 avdtp: finalize after emit signaling connection open failure 2020-08-13 17:55:46 +02:00
Matthias Ringwald
8e0c44212d hid_host_demo: try to become master for incoming connections 2020-08-11 15:51:59 +02:00