116 Commits

Author SHA1 Message Date
Matthias Ringwald
86a5a72143 a2dp_source: A2DP Source: only connect to remote sink stream endpoints 2020-05-13 10:44:14 +02:00
Matthias Ringwald
17741193d9 a2dp_source: delay set configuration when remote created signaling connection 2019-12-17 17:37:05 +01:00
Milanka Ringwald
8d9aebf58c a2dp_source: ignore acceptor events for now 2019-12-17 15:32:30 +01:00
Milanka Ringwald
63274943dc avdtp: introduce is_initiator param in accept and reject events 2019-12-17 15:21:50 +01:00
Matthias Ringwald
2de6e17d4c avdtp: fix build 2019-12-17 11:02:14 +01:00
Milanka Ringwald
b12cd5a611 avdtp: clean up logs 2019-12-17 10:20:11 +01:00
Milanka Ringwald
5451d60aee a2dp_source: rename global variable 2019-12-17 09:20:12 +01:00
Matthias Ringwald
6535961a1f ignore memcpy return value (always returns first parameter) 2019-12-02 18:17:20 +01:00
Milanka Ringwald
33f3f68c3b a2dp source: wrap avdtp calls [a2371] 2019-11-18 11:37:12 +01:00
Milanka Ringwald
259c7ac346 a2dp: set local seid in a2dp_streaming_emit_can_send_media_packet_now [a2381] 2019-11-15 11:51:30 +01:00
Milanka Ringwald
84e3541e4b bluetooth_psm: replace prefix PSM_ with BLUEOOTH_PSM_ 2019-09-27 15:13:48 +02:00
Milanka Ringwald
62faac7e54 a2dp_source: fix event type in a2dp_signaling_emit_delay_report, forward AVDTP_SUBEVENT_SIGNALING_CAPABILITIES_DONE event 2019-09-21 11:27:55 +02:00
Milanka Ringwald
b5858f2df2 avdtp source: Adapt Bluetooth spec SBC configuration definition to the expected input of SBC Encoder 2019-09-20 15:10:24 +02:00
Milanka Ringwald
8b94010e12 avdtp: forward A2DP_SUBEVENT_SIGNALING_DELAY_REPORT as event to client app; change a2dp sink return value of a2dp_sink_create_stream_endpoint from status to stream endpoint 2019-09-20 14:19:40 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
cfd2437ec6 a2dp_source: suppport stream reconfiguration (a2dp_source_reconfigure_stream_sampling_frequency) 2018-09-17 12:06:51 +02:00
Matthias Ringwald
d0c510fc6d a2dp: fix compiltion for c++ 2018-06-26 18:25:04 +02:00
Milanka Ringwald
7078e43451 a2dp_source: a2dp_source_create_stream_endpoint returns avdtp_stream_endpoint_t 2018-04-18 11:29:09 +02:00
Milanka Ringwald
59e36844b7 a2dp: remove l2cap register service from init 2018-04-18 10:43:00 +02:00
Milanka Ringwald
485c0a4c68 avdtp: remove list of remote seps, emit instead seps to the app, with event done to mark the end 2018-04-18 10:43:00 +02:00
Milanka Ringwald
b60d3b4722 a2dp source: fix api for create stream endpoint 2018-04-13 17:28:10 +02:00
Milanka Ringwald
a2466f3175 a2dp_source: use correct event on signaling connection failure, extract emit functions 2018-03-09 16:45:23 +01:00
Milanka Ringwald
9900b7faad a2dp source: reject incorrectly initiated incoming media connection 2018-02-23 15:13:18 +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
Milanka Ringwald
ec3d71e355 avdtp: fix incoming/outgoing connection, introduce more logs 2017-12-01 17:30:20 +01:00
Milanka Ringwald
63331bf43d avdtp source: send event on signaling connection established for both incoming and outgoing connections 2017-12-01 15:23:23 +01:00
Milanka Ringwald
ffa6c1604b avdtp: cache SBC codec info to emot on set config accept 2017-11-27 00:40:37 +01:00
Milanka Ringwald
e7e31fb815 a2dp source: remove get configuration 2017-11-26 23:44:08 +01:00
Milanka Ringwald
e2d6e24b54 a2dp source: move sbc init from a2dp source to demo 2017-11-24 16:37:07 +01:00
Milanka Ringwald
4cb889a5b0 avrcp: fix includes 2017-11-03 17:12:57 +01:00
Milanka Ringwald
133becec45 a2dp: send STOP event on stream stopped or aborted 2017-08-30 11:48:59 +02:00
Milanka Ringwald
88132161fe a2dp source: cleanup api, add minimal docu, update example 2017-08-29 15:22:27 +02:00
Milanka Ringwald
04cd6488fb a2dp: handle signaling chanel release, fix event's meta type 2017-08-25 16:50:34 +02:00
Milanka Ringwald
bc555cb1d8 a2dp source: remove unused sep variable 2017-08-16 16:59:24 +02:00
Milanka Ringwald
5448c259b2 a2dp source: handle incoming connection, send event to client on signaling connection established 2017-08-16 16:06:13 +02:00
Milanka Ringwald
e91a86a966 a2dp: remove checks on seid, and cid 2017-08-11 11:56:36 +02:00
Milanka Ringwald
ef5ad9d62b a2dp: pass remote bd address on stream established event 2017-08-11 11:37:16 +02:00
Matthias Ringwald
adaba9f340 Fix more warnings (mostly sign-compare) 2017-08-09 22:58:56 +02:00
Milanka Ringwald
4567cc17d5 avdtp/avrcp: log error on malloc failure 2017-08-09 16:45:27 +02:00
Milanka Ringwald
0fd69bb60e a2dp: remove address check 2017-08-09 15:00:19 +02:00
Milanka Ringwald
45f49b5884 avdtp source pts tes: extend sbc encoder init with channel mode param 2017-07-19 16:10:15 +02:00
Milanka Ringwald
34b22aac09 avdtp, avrcp: cleanup, added error handling, fixed pts test compilation 2017-07-19 16:10:15 +02:00
Milanka Ringwald
67673f1cc2 a2dp source demo: cleanup 2017-07-19 16:10:15 +02:00
Milanka Ringwald
6b0ee1d045 avdtp source demo: fix avdtp cid, use local/remote seid 2017-07-19 16:05:35 +02:00
Milanka Ringwald
4ccacc40ad avdtp: introduced avdtp cid on connect; cmd functions return now status; use local and remote sedi in events instead of initiator and acceptor seid 2017-07-19 16:05:35 +02:00
Milanka Ringwald
f1042e9d0d a2dp sink: forward stream establish, start, pause, release 2017-07-07 16:42:48 +02:00
Milanka Ringwald
7050d2ca52 a2dp sink: start extracting code from demo to a2dp layer 2017-07-07 14:09:31 +02:00
Matthias Ringwald
4eb4be81ab a2dp: report required buffer size when too small 2017-06-30 12:42:09 +02:00
Matthias Ringwald
675720ad4b avdp: drop unistd.h include 2017-06-01 22:07:07 +02:00
Milanka Ringwald
b0920f2551 fix warnings in bluedroid and avdtp 2017-05-27 17:39:23 +02:00