HCCONTROL(8) MidnightBSD System Manager’s Manual HCCONTROL(8)
hccontrol — HCI configuration utility
hccontrol [−hN] −n HCI_node_name command [parameters ...]
The hccontrol utility connects to the specified Netgraph node of type HCI and attempts to send specified command to the HCI Netgraph node or to the associated Bluetooth device. The hccontrol utility will print results to the standard output and error messages to the standard error.
The options are as follows:
Display usage message and exit.
Show Bluetooth addresses as numbers. Normally hccontrol attempts to resolve Bluetooth addresses, and display them symbolically.
Connect to the specified HCI Netgraph node.
One of the supported commands (see below). Special command help can be used to obtain the list of all supported commands. To get more information about specific command use help command.
One or more optional space separated command parameters. Many commands require remote device address as one of the parameters. The remote device address can be specified as BD_ADDR or name. If name was specified then the hccontrol utility will attempt to resolve the name via bt_gethostbyname(3).
The currently supported HCI commands in hccontrol are:
The currently supported node commands in hccontrol are:
The hccontrol utility exits 0 on success, and >0 if an error occurs.
bluetooth(3), netgraph(3), netgraph(4), ng_hci(4), hcseriald(8)
Maksim Yevmenkin 〈email@example.com〉
Most likely. Please report if found.
MidnightBSD 0.3 June 14, 2002 MidnightBSD 0.3