mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avrcp: get role from transport header
This commit is contained in:
parent
0036e26712
commit
597efc9141
@ -469,7 +469,7 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec
|
||||
// uint8_t transport_header = packet[0];
|
||||
// uint8_t transaction_label = transport_header >> 4;
|
||||
// uint8_t packet_type = (transport_header & 0x0F) >> 2;
|
||||
// uint8_t frame_type = (transport_header & 0x03) >> 1;
|
||||
// uint8_t frame_type = (transport_header & 0x02) >> 1;
|
||||
// uint8_t ipid = transport_header & 0x01;
|
||||
// uint8_t byte_value = packet[2];
|
||||
// uint16_t pid = (byte_value << 8) | packet[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user