avrcp: get role from transport header

This commit is contained in:
Milanka Ringwald 2019-02-20 12:35:38 +01:00
parent 0036e26712
commit 597efc9141

View File

@ -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];