Discoverable¶
bluetoothctl <<<"discoverable on"
HCI Dump¶
Dump to terminal, with data in hex and ASCII:
btmon
hcidump -X # NOTE: hcidump is deprecated
Dump to a file:
btmon -w ./mydump.snoop
L2Ping¶
Tip
Make the target discoverable first!
l2ping -v ${DEST_MAC}
L2Test¶
Tip
Make the target discoverable first!
Tip
Use -V le_public
for BLE.
Target¶
l2test -R -r
l2test -R -V le_public -r
Source¶
l2test -R -s ${DEST_MAC}
l2test -R -V le_public -s ${DEST_MAC}