mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-28 00:35:42 +00:00
send bd addr in correct endianess - thanks to francis for spotting this goof
This commit is contained in:
parent
c58e38fb3a
commit
2f89d309d8
@ -810,7 +810,7 @@ void hci_emit_remote_name_cached(bd_addr_t *addr, device_name_t *name){
|
||||
event[0] = BTSTACK_EVENT_REMOTE_NAME_CACHED;
|
||||
event[1] = len - 2;
|
||||
event[2] = 0; // just to be compatible with HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
|
||||
BD_ADDR_COPY(&event[3], addr);
|
||||
bt_flip_addr(&event[3], *addr);
|
||||
memcpy(&event[9], name, 248);
|
||||
hci_dump_packet(HCI_EVENT_PACKET, 0, event, len);
|
||||
hci_stack.packet_handler(HCI_EVENT_PACKET, event, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user