mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-10 10:21:48 +00:00
fix ad report data
This commit is contained in:
parent
b1b297962f
commit
88ed79cf89
@ -547,7 +547,7 @@ static void le_handle_advertisement_report(uint8_t *packet, int size){
|
||||
pos += 6;
|
||||
event[pos++] = packet[4+num_reports*9+total_data_length + i];
|
||||
event[pos++] = data_length;
|
||||
memcpy(&packet[4+num_reports*9+data_offset], &event[pos], data_length);
|
||||
memcpy(&event[pos], &packet[4+num_reports*9+data_offset], data_length);
|
||||
data_offset += data_length;
|
||||
pos += data_length;
|
||||
hci_stack->packet_handler(HCI_EVENT_PACKET, event, sizeof(event));
|
||||
|
Loading…
Reference in New Issue
Block a user