mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-03 01:20:35 +00:00
gatt: log gatt client events to hci_dump
This commit is contained in:
parent
1890600882
commit
b6e003bca9
@ -450,6 +450,7 @@ static void gatt_client_handle_transaction_complete(gatt_client_t * peripheral){
|
|||||||
|
|
||||||
static void emit_event_new(btstack_packet_handler_t callback, uint8_t * packet, uint16_t size){
|
static void emit_event_new(btstack_packet_handler_t callback, uint8_t * packet, uint16_t size){
|
||||||
if (!callback) return;
|
if (!callback) return;
|
||||||
|
hci_dump_packet(HCI_EVENT_PACKET, 0, packet, size);
|
||||||
(*callback)(HCI_EVENT_PACKET, 0, packet, size);
|
(*callback)(HCI_EVENT_PACKET, 0, packet, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user