zephyr/samples/bluetooth/hci_uart/src
Carles Cufi 0552d329c8 samples: bluetooth: hci_uart: Fix command len calculation
Due to a historical error introduced during an hci_uart refactor, the
get_len() function was using the wrong HCI H4 packet identifier for
commands. Instead of using H4_CMD (0x01) it was trying to match
BT_BUF_CMD (0x00).

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2021-09-07 20:47:49 +02:00
..
main.c samples: bluetooth: hci_uart: Fix command len calculation 2021-09-07 20:47:49 +02:00