• Pavlin Radoslavov's avatar
    Add BT_HCI_UNKNOWN_MESSAGE_TYPE log event · 27ec0c78
    Pavlin Radoslavov authored
    If the received HCI type is unknown, then log an event and abort.
    The most likely reason for that to happen is if the UART stream
    is corrupted. We cannot recover from that, and there is not much
    else we can do.
    
    Also, fixed a bug in an HCI-related unit test that was exposed
    by the above change.
    
    Bug: 31432127
    Change-Id: Ia888c485f177af4962268bf8f593b27fd7a4b080
    27ec0c78
hci_hal_h4.c 8.13 KB