From 4e9daa6f85eb34f268c7f2972afdd43751f5d457 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 8 Jan 2016 18:38:08 +0100 Subject: [PATCH] hci: handle result for baud change command TC3566x --- src/hci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hci.c b/src/hci.c index ce809874a..93848d67c 100644 --- a/src/hci.c +++ b/src/hci.c @@ -1066,6 +1066,12 @@ static void hci_initializing_event_handler(uint8_t * packet, uint16_t size){ command_completed = 1; } + // Vendor == Toshiba + if (hci_stack->substate == HCI_INIT_W4_SEND_BAUD_CHANGE && packet[0] == HCI_EVENT_VENDOR_SPECIFIC){ + // TODO: track actual command + command_completed = 1; + } + // Late response (> 100 ms) for HCI Reset e.g. on Toshiba TC35661: // Command complete for HCI Reset arrives after we've resent the HCI Reset command //