10800 Commits

Author SHA1 Message Date
Milanka Ringwald
5eb9091e8e test/pts/avrcp test controller: move avrcp target event handling code to the correct packet handler 2020-06-17 16:15:40 +02:00
Milanka Ringwald
99eba37f75 test/pts/avrcp controller test: move code from avrcp target test here 2020-06-17 16:15:40 +02:00
Milanka Ringwald
e321ba08c8 test/pts/avrcp_controller_test: reassign command prompt commands 2020-06-17 16:15:40 +02:00
Milanka Ringwald
a1f6a66acb test/pts/avrcp_controller_test: split packet handlers 2020-06-17 16:15:40 +02:00
Milanka Ringwald
387a394648 test/pts/avrcp_controller_test: handle avdtp events in avdtp_service_packet_handler 2020-06-17 16:15:40 +02:00
Milanka Ringwald
fea277e644 test/pts/avrcp_controller_test: initialize avdtp source and avrcp target services; rename browsing_cid 2020-06-17 16:15:40 +02:00
Milanka Ringwald
3945307c8d test/pts/avrcp_target_test : register set addressed player callback that verifies tat the player ID is in valid range, document player list items fields 2020-06-17 16:15:40 +02:00
Matthias Ringwald
d1cf25b11e avrcp_target: add avrcp_target_register_set_addressed_player_handler 2020-06-17 16:15:40 +02:00
Milanka Ringwald
8b14627578 test/pts/avrcp controller test: initialize target role 2020-06-17 16:15:40 +02:00
Matthias Ringwald
60a90f4449 test/pts: add support to trigger overlapping connection requests for AVRCP and AVRCP Browsing 2020-06-17 16:15:40 +02:00
Matthias Ringwald
20a7c7c874 avrcp: parse all SDP records 2020-06-17 16:15:40 +02:00
Milanka Ringwald
f139b9cb4f avrcp: rename status variable to avrcp_status 2020-06-17 16:15:40 +02:00
Milanka Ringwald
9da6c47309 avdtp: reset connection configuration state on closing stream 2020-06-17 16:15:40 +02:00
Milanka Ringwald
ac2498677f test/pts: use PTS default TSPX_max_avc_fragments = 10 2020-06-17 16:15:40 +02:00
Milanka Ringwald
517c8b9ba1 avrcp browsing: remove unused timer 2020-06-17 16:15:39 +02:00
Milanka Ringwald
f2dd8670a5 avrcp browsing test: automate select player on connection established 2020-06-17 16:15:39 +02:00
Milanka Ringwald
e7e98b6012 arvcp browsing: support more notification events 2020-06-17 16:15:39 +02:00
Milanka Ringwald
0dce2f87ce avrcp browsing pts: update files to use new API 2020-06-17 16:15:39 +02:00
Milanka Ringwald
a909c49865 avrcp browsing: use correct function to get AVRCP connection for the given browsing cid 2020-06-17 16:15:39 +02:00
Milanka Ringwald
14c8559d68 avrcp browsing: use timer fr reconnect 2020-06-17 16:15:39 +02:00
Milanka Ringwald
80bf78e348 avrcp browsing: remove role param from packet handler 2020-06-17 16:15:39 +02:00
Milanka Ringwald
cf36dea074 avrcp: use bool for wait_to_send 2020-06-17 16:15:39 +02:00
Milanka Ringwald
eab0c1ee59 avrcp browsing: update L2CAP_EVENT_CAN_SEND_NOW to check if controller or target requested to send 2020-06-17 16:15:39 +02:00
Milanka Ringwald
61bf14d630 avrcp browsing: update channel closed to handle both target and controller 2020-06-17 16:15:39 +02:00
Milanka Ringwald
f4ffe59a3d avrcp browsing: update channel opened, reconnection timer not yet handled 2020-06-17 16:15:39 +02:00
Milanka Ringwald
8ee7c9dadd avrcp browsing: move disconnect to AVRCP API 2020-06-17 16:15:39 +02:00
Milanka Ringwald
f9294da585 avrcp browsing: move decline incoming connection to avrcp API 2020-06-17 16:15:39 +02:00
Milanka Ringwald
a634435223 avrcp browsing: move configure incoming connection to avrcp 2020-06-17 16:15:39 +02:00
Milanka Ringwald
3121b998ac avrcp browsing: remove create connection from browsing controller and target, use instead single avrcp_browsing_connect, handle incoming connection 2020-06-17 16:15:39 +02:00
Milanka Ringwald
b808139957 avrcp: extract get frame type, use frame type to call the appropriate browsing packet handler 2020-06-17 16:15:39 +02:00
Milanka Ringwald
0eebc13233 avrcp browsing: register l2cap service only once, move connection establishment to avrcp.c 2020-06-17 16:15:39 +02:00
Milanka Ringwald
12c4a6eeaf avrcp browsing: move connection establishment code to avrcp.h 2020-06-17 16:13:03 +02:00
Milanka Ringwald
119bdcb221 avrcp browsing: move emit connection events to avrcp.h 2020-06-17 16:13:03 +02:00
Milanka Ringwald
ace5ab2a3d avrcp browsing: move avrcp_browsing_disconnect to public avrcp.h API 2020-06-17 16:13:03 +02:00
Milanka Ringwald
b99ca858cd avrcp browsing: move avrcp_browsing_connect to public avrcp.h API 2020-06-17 16:13:03 +02:00
Milanka Ringwald
02d2f9ca1b avrcp browsing client: register avrcp packet handler and track avrcp connection establishment 2020-06-17 16:13:03 +02:00
Milanka Ringwald
7925f33fc9 Makefile: add avrcp_target.o to avrcp_browsing_client 2020-06-17 16:13:03 +02:00
Milanka Ringwald
440d8d82d6 avdtp: return ERROR_CODE_COMMAND_DISALLOWED, if start streaming is called twice in a row, return the same status for stop/suspend/abort instead of ERROR_CODE_SUCCESS 2020-06-17 16:13:03 +02:00
Matthias Ringwald
b7f7a8fb81 a2dp_source/sink_demo: drop avrcip_cid check 2020-06-17 16:13:03 +02:00
Milanka Ringwald
a062fcdd4e avrcp: retry if outgoing fails and incoming connection was rejected 2020-06-17 16:13:03 +02:00
Milanka Ringwald
3734adac22 avrcp: improve API documentation 2020-06-17 16:13:03 +02:00
Milanka Ringwald
e3d57ee2cf avrcp: use separate context for avrcp, remove handling of AVRCP_META event from controller/target 2020-06-17 16:13:03 +02:00
Milanka Ringwald
be4cc80ad5 avrcp: remove commented code 2020-06-17 16:13:03 +02:00
Milanka Ringwald
cee0e5b635 avrcp: use separate callback for avrcp open/close connection events 2020-06-17 16:13:03 +02:00
Milanka Ringwald
9cf030dd9e avrcp browsing target: fix compile 2020-06-17 16:13:03 +02:00
Milanka Ringwald
fe10780b18 avrcp: replace avrcp_target/controller_connect/disconnect with avrcp_connect/disconnect 2020-06-17 16:13:03 +02:00
Milanka Ringwald
7403cbba2c avrcp: use same avrcp cid for controller and target 2020-06-17 16:13:03 +02:00
Milanka Ringwald
19691e0af0 avrcp: call avrcp_init explicitly 2020-06-17 16:13:03 +02:00
Milanka Ringwald
bd66227a2e avrcp: setup avrcp controller and target together 2020-06-17 16:13:03 +02:00
Milanka Ringwald
b68672ea99 avrcp: store remote address into SDP query context and handle SDP query complete for controller and target 2020-06-17 16:13:03 +02:00