11221 Commits

Author SHA1 Message Date
Matthias Ringwald
24889c9aa6 test/mesh: disable leak detection for mesh_message_test 2020-08-24 14:07:34 +02:00
Matthias Ringwald
c9fe0d9fb4 test/mesh: disable leak detection for mesh_message_test 2020-08-24 13:57:45 +02:00
Matthias Ringwald
213a3171cf mesh: free pending outgoing pdus 2020-08-21 18:56:11 +02:00
Matthias Ringwald
2908c9e636 test/mesh: report gatt packets as sent to avoid memory leak in unit test 2020-08-21 18:22:37 +02:00
Matthias Ringwald
e3de1784d6 stm32-f4discovery-cc256x: increase HCI_ACL_PAYLOAD_SIZE to make pan_lwip_http_server demo work 2020-08-21 17:12:33 +02:00
Matthias Ringwald
d05f4737c7 mesh: free buffers in unit test 2020-08-21 17:01:03 +02:00
Matthias Ringwald
8da98cbec6 hci: fix warning 2020-08-21 16:22:10 +02:00
Matthias Ringwald
89b92ba2bc test/sdp_client: fix build 2020-08-21 16:20:59 +02:00
Matthias Ringwald
5509e8887f a2dp_source, avrcp_controller: fix warnings 2020-08-21 16:20:46 +02:00
Matthias Ringwald
04905b77d2 sdp_client: pass context in query request callback 2020-08-21 16:04:02 +02:00
Matthias Ringwald
caeddef656 test/avdtp_util: fix compile 2020-08-21 16:02:02 +02:00
Matthias Ringwald
03853e67a2 a2dp_sink: fix forwarding of signaling released event 2020-08-21 14:25:59 +02:00
Matthias Ringwald
0ca82ad21a a2dp_source: fix forwarding of delay reporting event 2020-08-21 14:23:54 +02:00
Matthias Ringwald
97b601cf1e sdp_client: fix warning 2020-08-21 14:08:32 +02:00
Matthias Ringwald
b443d25d72 sdp_client: add sdp_client_register_query_callback() allows to register query request instead of polling sdp_client_ready() 2020-08-21 13:43:16 +02:00
Matthias Ringwald
e094740e06 sdp_client: add sdp_client_register_query_callback() allows to register query request instead of polling sdp_client_ready() 2020-08-21 12:28:22 +02:00
Matthias Ringwald
ce93555dde a2dp_source: drop a2dp_source_state from avdtp_connection, validate avdtp_cid in all events 2020-08-20 15:48:44 +02:00
Matthias Ringwald
696f1aba04 a2dp_source: document behaviour for different use cases, outgoing has priority, streamline code 2020-08-20 15:35:00 +02:00
Matthias Ringwald
8f3d0a2fad avdtp_initiator: send stream related accept events (reconfigure, set config, start, suspend, close, abort) to source/sink handler 2020-08-19 17:31:52 +02:00
Matthias Ringwald
46b99c89b0 avdtp_util: add avdtp_signaling_emit_accept_for_stream_endpoint 2020-08-19 17:29:58 +02:00
Matthias Ringwald
cd94cb8e7b a2dp_source: keep a2dp state as global 2020-08-19 16:34:23 +02:00
Matthias Ringwald
354bc880f2 a2dp_sink: only modify sink state 2020-08-19 15:48:38 +02:00
Matthias Ringwald
cf6e4a8c62 a2dp_source: always emit signaling connection established 2020-08-19 14:37:46 +02:00
Matthias Ringwald
29c1fe6736 a2dp_source: extract a2dp_source_discover_stream_endpoints 2020-08-19 14:35:04 +02:00
Matthias Ringwald
f9a5036a9e avdtp_util: document for each AVDTP_SUBVENT_* if source and/or sink packet handlers are called 2020-08-19 14:31:03 +02:00
Matthias Ringwald
49523328ea avdtp_source: remove send_stream_established_for_outgoing_connection 2020-08-19 14:06:25 +02:00
Matthias Ringwald
e8a431c12b avdtp_util: pass adtvp_media_codec_capabilities_t as pointer 2020-08-19 12:36:23 +02:00
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