From 5ccb5bbed881acf4bab7cbd0454d412257afa5e4 Mon Sep 17 00:00:00 2001 From: Johan Degn <54548365+johandegn@users.noreply.github.com> Date: Mon, 11 Sep 2023 15:14:04 +0200 Subject: [PATCH] l2ping: add page (#10711) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/l2ping.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/l2ping.md diff --git a/pages/common/l2ping.md b/pages/common/l2ping.md new file mode 100644 index 000000000..2bd5fc695 --- /dev/null +++ b/pages/common/l2ping.md @@ -0,0 +1,32 @@ +# l2ping + +> Send an L2CAP echo request and receive an answer. +> More information: . + +- Ping a Bluetooth device: + +`sudo l2ping {{mac_address}}` + +- Reverse ping a Bluetooth device: + +`sudo l2ping -r {{mac_address}}` + +- Ping a Bluetooth device from a specified interface: + +`sudo l2ping -i {{hci0}} {{mac_address}}` + +- Ping Bluetooth device with a specified sized data package: + +`sudo l2ping -s {{byte_count}} {{mac_address}}` + +- Ping flood a Bluetooth device: + +`sudo l2ping -f {{mac_address}}` + +- Ping a Bluetooth device a specified amount of times: + +`sudo l2ping -c {{amount}} {{mac_address}}` + +- Ping a Bluetooth device with a specified delay between requests: + +`sudo l2ping -d {{seconds}} {{mac_address}}`