Skip to content
Commit 0552d329 authored by Carles Cufi's avatar Carles Cufi
Browse files

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: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 795d36f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment