Skip to content
Commit 86729761 authored by Joakim Andersson's avatar Joakim Andersson Committed by Christopher Friedt
Browse files

Bluetooth: shell: Fix adv-data command hex data input



Fix adv-data command when given arbitrary advertising data in
hexadecimal format. The data_len field should contain the length of the
data which does not include the data type. Instead the AD len field in
the data was given. This caused the AD len field to be increased by 1
in the advertising dat.

Signed-off-by: default avatarJoakim Andersson <joakim.andersson@nordicsemi.no>
parent 1aa3a771
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment