mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
don't list BD ADDR in client
This commit is contained in:
parent
6c27bd5656
commit
cac78adf23
@ -140,11 +140,6 @@ static void packet_handler (void * connection, uint8_t packet_type, uint16_t cha
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case HCI_EVENT_COMMAND_COMPLETE:
|
case HCI_EVENT_COMMAND_COMPLETE:
|
||||||
if (COMMAND_COMPLETE_EVENT(packet, hci_read_bd_addr)){
|
|
||||||
bt_flip_addr(addr, &packet[6]);
|
|
||||||
printf("BD ADDR: %s\n", bd_addr_to_str(addr));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (COMMAND_COMPLETE_EVENT(packet, hci_write_le_host_supported)){
|
if (COMMAND_COMPLETE_EVENT(packet, hci_write_le_host_supported)){
|
||||||
// into hci.c
|
// into hci.c
|
||||||
hci_send_cmd(&hci_le_set_event_mask, 0xffffffff, 0xffffffff);
|
hci_send_cmd(&hci_le_set_event_mask, 0xffffffff, 0xffffffff);
|
||||||
@ -155,7 +150,7 @@ static void packet_handler (void * connection, uint8_t packet_type, uint16_t cha
|
|||||||
hci_send_cmd(&hci_le_read_buffer_size);
|
hci_send_cmd(&hci_le_read_buffer_size);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (COMMAND_COMPLETE_EVENT(packet, hci_le_read_buffer_size)){
|
if (COMMAND_COMPLETE_EVENT(packet, hci_le_read_buffer_size)){
|
||||||
printf("LE buffer size: %u, count %u\n", READ_BT_16(packet,6), packet[8]);
|
printf("LE buffer size: %u, count %u\n", READ_BT_16(packet,6), packet[8]);
|
||||||
// only needed for BLE Peripheral, consider sending these as a default
|
// only needed for BLE Peripheral, consider sending these as a default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user