13707 Commits

Author SHA1 Message Date
Milanka Ringwald
991e55fd39 avrcp_controller: calculate AVRCP packet type 2021-12-07 21:48:38 +01:00
Milanka Ringwald
d9bfc63211 avrcp_controller: improve num AVCTP packets calculation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
f935a87bb4 avrcp_controller: rename buffer 2021-12-07 21:48:38 +01:00
Milanka Ringwald
c762f70cd3 avrcp: remove AVCTP_W2_SEND_AVCTP_FRAGMENTED_MESSAGE state 2021-12-07 21:48:38 +01:00
Milanka Ringwald
176d21add0 avrcp_controller: pass custom command response to app 2021-12-07 21:48:38 +01:00
Milanka Ringwald
1ab8f8dd87 avrcp_controller: return after sending cmd 2021-12-07 21:48:38 +01:00
Milanka Ringwald
1e852c685d avrcp_target: check data_len on continue response 2021-12-07 21:48:38 +01:00
Milanka Ringwald
18f5a1483a avrcp: use uint16 for length 2021-12-07 21:48:38 +01:00
Milanka Ringwald
d6c2d4bc1a avrcp: fix AVRCP type calculation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
7ff388bdd5 avrcp: fix AVCTP type calculation 2021-12-07 21:48:38 +01:00
Milanka Ringwald
4b47bcb90f avrcp_target: use continue response flag 2021-12-07 21:48:38 +01:00
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