Man page - bluetoothctl-hci(1)
Packages contains this manual
- rfcomm(1)
- bluetoothctl-player(1)
- bluetoothctl-assistant(1)
- bluetooth-meshd(8)
- hciconfig(1)
- obexctl(1)
- hex2hcd(1)
- mpris-proxy(1)
- bluetoothctl-endpoint(1)
- bluetoothctl-hci(1)
- bluetoothctl(1)
- bluetoothctl-gatt(1)
- rctest(1)
- hid2hci(1)
- bluemoon(1)
- ciptool(1)
- bluetoothctl-monitor(1)
- l2test(1)
- bluetoothctl-scan(1)
- sdptool(1)
- bluetoothctl-transport(1)
- btmgmt(1)
- hciattach(1)
- btattach(1)
- gatttool(1)
- bluetoothctl-mgmt(1)
- bluetoothctl-admin(1)
- bluetoothd(8)
- hcitool(1)
- bluetoothctl-advertise(1)
- btmon(1)
- l2ping(1)
apt-get install bluez
Manual
BLUETOOTHCTL-HCI
NAMESYNOPSIS
COMMANDS
open
cmd
send
register
unregister
close
RESOURCES
REPORTING BUGS
COPYRIGHT
NAME
bluetoothctl-hci - HCI Submenu
SYNOPSIS
bluetoothctl [--options] [hci.commands]
COMMANDS
open
Open HCI channel.
|
Usage |
> open <index> <chan=raw,user> |
Example open user channel
In order to open a user channel
the controller needs to be power off
first:
> power off
> hci.open 0 user
HCI index 0 user channel opened
cmd
Send HCI command.
|
Usage |
> cmd <opcode> [parameters...] |
Example send HCI Reset command
> hci.cmd 0x0c03
HCI Command complete:
00
send
Send HCI data packet.
|
Usage |
> send <type=acl,sco,iso> <handle> [data...] |
Example send ACL data packet to connection handle 0x0000
> hci.send acl 0x0000
register
Register HCI event handler.
|
Usage |
> register <event> |
unregister
Unregister HCI event handler.
|
Usage |
> unregister <event> |
close
Close HCI channel.
|
Usage |
> close <index> |
RESOURCES
<http://www.bluez.org>
REPORTING BUGS
<linux-bluetooth@vger.kernel.org>
COPYRIGHT
Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL).