mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
avrcp_controller: reset data offset
This commit is contained in:
parent
1f2f3fd126
commit
5c72796b16
@ -591,6 +591,7 @@ static void avrcp_send_cmd_with_avctp_fragmentation(avrcp_connection_t * connect
|
||||
switch (connection->avctp_packet_type){
|
||||
case AVCTP_SINGLE_PACKET:
|
||||
case AVCTP_START_PACKET:
|
||||
connection->data_offset = 0;
|
||||
// Profile IDentifier (PID)
|
||||
packet[pos++] = BLUETOOTH_SERVICE_CLASS_AV_REMOTE_CONTROL >> 8;
|
||||
packet[pos++] = BLUETOOTH_SERVICE_CLASS_AV_REMOTE_CONTROL & 0x00FF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user