13496 Commits

Author SHA1 Message Date
Milanka Ringwald
a4318cbb6b avrcp_target: reset track ID 2021-12-07 21:48:38 +01:00
Milanka Ringwald
c3d92d4cd6 avrcp: use MTU stored in connection 2021-12-07 21:48:38 +01:00
Milanka Ringwald
f28ce84e1c avrcp: initialize track ID 2021-12-07 21:48:38 +01:00
Milanka Ringwald
617d8062b1 avrcp_browsing: fix packet type 2021-12-07 21:48:38 +01:00
Milanka Ringwald
4670b44aa9 avrcp_controller: fix data initialisation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
3d73cc81a1 avrcp: rename fields 2021-12-07 21:48:38 +01:00
Milanka Ringwald
f3bb6622e4 avrcp: remove unused fields 2021-12-07 21:48:38 +01:00
Milanka Ringwald
393f572405 avrcp: rename and group parameters by role 2021-12-07 21:48:38 +01:00
Milanka Ringwald
ef8ea8e48d avrcp_target: use bool type 2021-12-07 21:48:38 +01:00
Milanka Ringwald
e2ceb2df25 avrcp_target: fix get elements attributes status 2021-12-07 21:48:38 +01:00
Milanka Ringwald
ef07fa3cfa avrcp_target: enable send error response for GetCapapbilities, send default company if none registered 2021-12-07 21:48:38 +01:00
Milanka Ringwald
7bccc69f5c avrcp: initialise data buffer 2021-12-07 21:48:38 +01:00
Milanka Ringwald
ffe8f3ac18 avrcp_target: refactor avrcp_target_packet_handler 2021-12-07 21:48:38 +01:00
Milanka Ringwald
3b899686d5 avrcp_target: use cmd_operands for invalid PID and set state prior to reject_transport_header response 2021-12-07 21:48:38 +01:00
Milanka Ringwald
92ae15ea32 avrcp_target: fix attr ID iteration 2021-12-07 21:48:38 +01:00
Milanka Ringwald
ccfcd81e62 avrcp_target: send fragmented playing info 2021-12-07 21:48:38 +01:00
Milanka Ringwald
96e5f69a6e avrcp: fix max payload size in avctp_get_packet_type 2021-12-07 21:48:38 +01:00
Milanka Ringwald
aeb999167a avrcp: new avrcp target fragmentation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
4d7cf3906f avrcp_controller: fix fragment length calculation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
7a0b973575 avrcp: rename function 2021-12-07 21:48:38 +01:00
Milanka Ringwald
3a19cf32d7 avrcp: extract avctp_get_num_packets 2021-12-07 21:48:38 +01:00
Milanka Ringwald
66b242bbd9 avrcp_controller: move avrcp_get_avctp_packet_type to avrcp for now 2021-12-07 21:48:38 +01:00
Milanka Ringwald
4a23d858be avrcp_controller: reimplement AVCTP fragmentation for send command 2021-12-07 21:48:38 +01:00
Milanka Ringwald
5d3671d9fb avrcp_cotroller: use the same pointer for fragmented and normal commands, adapt avrcp_controller_send_custom_command to provide only parameters through data buffer 2021-12-07 21:48:38 +01:00
Milanka Ringwald
8d316b1bc5 avrcp_controller: extract message data initialisation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
f968dcfc8a avrcp_controller: fix used packet type 2021-12-07 21:48:38 +01:00
Milanka Ringwald
62434ba854 avrcp_controller: use l2cap outgoing buffer to send avctp fragment 2021-12-07 21:41:54 +01:00
Milanka Ringwald
ecb2ff939f avrcp_controller: rename avrcp_send_cmd, and use AVCTP packet type 2021-12-07 21:41:54 +01:00
Milanka Ringwald
589c77124f avctp_controller: introduce AVCTP_W2_SEND_AVCTP_FRAGMENTED_MESSAGE state 2021-12-07 21:41:54 +01:00
Milanka Ringwald
3d8eb2db83 avrcp_controller: calculate AVCTP fragment size based on l2cap mtu and max AV/C message size 2021-12-07 21:41:54 +01:00
Milanka Ringwald
a1946e7953 avrcp: use bool for now_playing_info_response flag 2021-12-07 21:41:54 +01:00
Milanka Ringwald
91b9f86dbd avrcp: rename connection state from AVCTP_W2_SEND_FRAGMENTED_COMMAND to AVCTP_W2_SEND_FRAGMENTED_MESSAGE 2021-12-07 21:41:54 +01:00
Matthias Ringwald
798de539e3 test/embedded: add hci_dump_test 2021-12-05 20:46:44 +01:00
Matthias Ringwald
1fba6313b3 test/embedded: add more tests for embedded run loop 2021-12-05 19:48:26 +01:00
Matthias Ringwald
ee02574111 hci: only return true if command was sent in hci_run_general_pending_commands 2021-12-03 17:05:59 +01:00
Matthias Ringwald
1f34df2cf7 hci: free hci connection struct if accept synchronous connections fails 2021-12-03 17:04:59 +01:00
Matthias Ringwald
f9bcf56d8f pbap_client: update state before emitting phonebook size 2021-12-03 12:32:19 +01:00
Matthias Ringwald
b7802cc8b1 hfp_ag: send HFP AG and HCI commands independently 2021-12-03 12:13:52 +01:00
Matthias Ringwald
6d21cd94ee test/crypto: test invalid aes key len 2021-12-03 11:47:45 +01:00
Matthias Ringwald
3bb5ff27f3 hci: avoid discard ACL connections on connection complete with error for SCO to same peer 2021-12-02 19:58:56 +01:00
Matthias Ringwald
f23819bcb1 hci: suppress connection request from higher layers if alloc fails 2021-12-02 19:57:00 +01:00
Matthias Ringwald
905ee0fd06 hci: add parentheses around macro invocation of HCI_EVENT_IS_COMMAND_COMPLETE 2021-11-30 11:32:42 +01:00
Matthias Ringwald
af7c3ae6cd test: split l2cap-channel into l2cap-cbm and l2cap-ecbm 2021-11-30 11:18:56 +01:00
Matthias Ringwald
1382159caa test: fix coverage build 2021-11-30 10:02:38 +01:00
Matthias Ringwald
d3709f3eb4 hfp_ag: avoid sending ring twice in test 2021-11-29 22:00:26 +01:00
Matthias Ringwald
0f5178a35d port/posix-h5: fix CC2564C init file name 2021-11-29 18:04:15 +01:00
Matthias Ringwald
7ebd525b11 hfp_ag: delay sending RING after audio connection was established (if in-band ring tone enabled) 2021-11-29 16:31:59 +01:00
Matthias Ringwald
f5887b606a hfp_ag: extract hfp_ag_hf_trigger_ring_and_clip 2021-11-29 16:31:14 +01:00
Matthias Ringwald
884d3c56f3 port: replace obex_iterator wirh obex_parser 2021-11-29 14:57:49 +01:00
Matthias Ringwald
2684f40bee pbap_client: add switch default 2021-11-29 14:46:11 +01:00