l2control
—
L2CAP configuration utility
l2control |
[-hn ] -a
local command
[parameters ...] |
The l2control
utility connects to the local device with
the specified BD_ADDR or name and attempts to send the specified command. The
l2control
utility will print results to the standard
output and error messages to the standard error output.
The options are as follows:
-a
local
- Connect to the local device with the specified BD_ADDR or name. Example:
-a
00:01:02:03:04:05
or
-a
bt_device
.
-h
- Display usage message and exit.
-n
- Show Bluetooth addresses as numbers. Normally
l2control
attempts to resolve Bluetooth addresses,
and display them symbolically.
- command
- One of the supported commands (see below). The special command
help
can be used to obtain a list of all supported
commands. To get more information about a specific command use
help
command.
- parameters
- One or more optional space separated command parameters.
The currently supported node commands in l2control
are:
The l2control
utility exits 0 on success,
and >0 if an error occurs.