l2ping - Send L2CAP echo request and receive answer
2. SYNOPSIS ▲
l2ping [ -i <hciX> ] [ -s size ] [ -c count ] [ -t timeout ] [ -d delay ] [ -f ] [ -r ] [ -v ] bd_addr
3. DESCRIPTION ▲
L2ping sends a L2CAP echo request to the Bluetooth MAC address bd_addrgiven in dotted hex notation.
4. OPTIONS ▲
- -i <hciX>
The command is applied to device
I hciX , which must be the name of an installed Bluetooth device (X = 0, 1, 2, ...) If not specified, the command will be sent to the first available Bluetooth device.
- -s size
The sizeof the data packets to be sent.
- -c count
Send countnumber of packets then exit.
- -t timeout
Wait timeoutseconds for the response.
- -d delay
Wait delayseconds between pings.
Kind of flood ping. Use with care! It reduces the delay time between packets to 0.
Reverse ping (gnip?). Send echo response instead of echo request.
Verify response payload is identical to request payload. It is not required for remote stacks to return the request payload, but most stacks do (including Bluez).
The Bluetooth MAC address to be pinged in dotted hex notation like
5. AUTHORS ▲
Written by Maxim Krasnyansky <> and Marcel Holtmann <>
man page by Nils Faerber <>, Adam Laurie <>.