mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-11 03:47:01 +00:00
avdtp target: fix parsing vendor dependent cmds
This commit is contained in:
parent
1589b89786
commit
ea686c7dd3
@ -846,9 +846,7 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec
|
||||
pdu_id = pdu[0];
|
||||
// 1 - reserved
|
||||
// 2-3 param length,
|
||||
printf_hexdump(packet, size);
|
||||
|
||||
uint16_t length = big_endian_read_16(pdu, 1);
|
||||
uint16_t length = big_endian_read_16(pdu, 2);
|
||||
memcpy(connection->cmd_operands, company_id, 3);
|
||||
connection->cmd_operands_length = 3;
|
||||
switch (pdu_id){
|
||||
|
Loading…
Reference in New Issue
Block a user