1027 Commits

Author SHA1 Message Date
Matthias Ringwald
182c9f077e avrcp: replacle if-else-chain with simple if + return 2020-07-09 22:07:42 +02:00
Matthias Ringwald
9192020a66 remove <stdio.h>, <stdlib.h> and printf from most core files 2020-07-07 22:52:12 +02:00
Matthias Ringwald
4562e2a2b9 hfp_hf: extract hfp_hf_handle_transfer_ag_indicator_status 2020-07-07 22:25:58 +02:00
Matthias Ringwald
2c31d7721e a2dp_sink: extract a2dp_sink_handle_signaling_accept 2020-07-07 22:25:58 +02:00
Matthias Ringwald
ed75eaeca8 hsp_hs: extract hsp_run_handle_state 2020-07-07 22:25:58 +02:00
Milanka Ringwald
36da874766 avdtp: cleanup connect, on incoming connection set context to the active one 2020-07-06 11:37:08 +02:00
Milanka Ringwald
1436d179b7 avdtp: rename getter functions 2020-07-06 11:37:08 +02:00
Milanka Ringwald
1945fe3ea5 avrcp: rename getter functions 2020-07-06 11:37:08 +02:00
Milanka Ringwald
84521ac169 avdtp: cleaned up avdtp_connect function 2020-07-06 11:37:08 +02:00
Milanka Ringwald
f0c3950290 avdtp: extract and use functions from avdtp_handle_sdp_client_query_result 2020-07-06 11:37:08 +02:00
Milanka Ringwald
871059e77e avrcp: improve log message 2020-07-06 11:37:08 +02:00
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