.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "BLUETOOTHCTL-HCI" "1" "December 2024" "BlueZ" "Linux System Administration" .SH NAME bluetoothctl-hci \- HCI Submenu .SH SYNOPSIS .sp \fBbluetoothctl\fP [\-\-options] [hci.commands] .SH COMMANDS .SS open .sp Open HCI channel. .INDENT 0.0 .TP .B Usage \fB> open \fP .TP .B Example open user channel .nf 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 .fi .sp .UNINDENT .SS cmd .sp Send HCI command. .INDENT 0.0 .TP .B Usage \fB> cmd [parameters...]\fP .TP .B Example send HCI Reset command .nf > hci.cmd 0x0c03 HCI Command complete: .in +2 00 .in -2 .fi .sp .UNINDENT .SS send .sp Send HCI data packet. .INDENT 0.0 .TP .B Usage \fB> send [data...]\fP .TP .B Example send ACL data packet to connection handle 0x0000 .nf > hci.send acl 0x0000 .fi .sp .UNINDENT .SS register .sp Register HCI event handler. .INDENT 0.0 .TP .B Usage \fB> register \fP .UNINDENT .SS unregister .sp Unregister HCI event handler. .INDENT 0.0 .TP .B Usage \fB> unregister \fP .UNINDENT .SS close .sp Close HCI channel. .INDENT 0.0 .TP .B Usage \fB> close \fP .UNINDENT .SH RESOURCES .sp .SH REPORTING BUGS .sp .SH COPYRIGHT Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL). .\" Generated by docutils manpage writer. .