1016 Commits

Author SHA1 Message Date
Milanka Ringwald
4f5eb79778 avrcp: pass AVRCP_SUBEVENT_GET_CAPABILITY_COMPANY_ID and AVRCP_SUBEVENT_GET_CAPABILITY_EVENT_ID events to client 2020-07-02 10:40:53 +02:00
Matthias Ringwald
5f4f94c7c2 example/sco_demo_util: fix packet status check 2020-06-26 15:06:31 +02:00
Milanka Ringwald
eed67a37be hfp: improve parsing of remote call services 2020-06-19 14:31:43 +02:00
Milanka Ringwald
25789943f3 hfp: improve indicator and codec parsing 2020-06-19 14:26:20 +02:00
Milanka Ringwald
4700518231 hfp: fix binary search, don't assert on unexpected CIND command 2020-06-18 14:43:47 +02:00
Milanka Ringwald
95f00c7ec8 avrcp_target: fix compile 2020-06-18 14:42:51 +02:00
Matthias Ringwald
9451857409 avrcp: fix compile, handle sdp query error 2020-06-17 21:44:01 +02:00
Matthias Ringwald
e71114b0a0 avrcp_browsing: perform SDP query if outgoing connection requested, but basic AVRCP connection was incoming 2020-06-17 16:15:40 +02:00
Matthias Ringwald
4dc95c124d avrcp: extract avrcp_start_sdp_query, make avrcp_handle_sdp_client_query_attribute_value accessible by browsing 2020-06-17 16:15:40 +02:00
Matthias Ringwald
03a72c8ed0 avrcp browing: move get avrcp connection back into avrcp.c 2020-06-17 16:15:40 +02:00
Milanka Ringwald
48f7d13909 avrcp browsing target: rename API functions from avrcp_subevent_browsing_* to avrcp_browsing_target_send_* 2020-06-17 16:15:40 +02:00
Milanka Ringwald
665a00cb2a avrcp: move browsing code to avrcp_browsing.c 2020-06-17 16:15:40 +02:00
Milanka Ringwald
7195ee86a8 avrcp_browsing_target: clean up log_info 2020-06-17 16:15:40 +02:00
Milanka Ringwald
ffcd1161f1 avrcp: remove calling emit connection closed twice 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
Matthias Ringwald
20a7c7c874 avrcp: parse all SDP records 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
517c8b9ba1 avrcp browsing: remove unused timer 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
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
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
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
Milanka Ringwald
50fc39c522 avrcp: remove connection param from avrcp_handle_sdp_client_query_attribute_value 2020-06-17 16:13:03 +02:00
Milanka Ringwald
463f41ba85 avrcp: extract SDP handlers 2020-06-17 16:13:03 +02:00