STANNIX Community


Manual: bluetoothctl-hci

bluetoothctl-hci(1)				 Linux System Administration				 bluetoothctl-hci(1)

Name
       bluetoothctl-hci - HCI Submenu

SYNOPSIS
       bluetoothctl [--options] [hci.commands]

Commands
   open
       Open HCI channel.

       Usage  > open  

       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  [parameters...]

       Example send HCI Reset command
	      > hci.cmd 0x0c03
	      HCI Command complete:
		00

   send
       Send HCI data packet.

       Usage  > send   [data...]

       Example send ACL data packet to connection handle 0x0000
	      > hci.send acl 0x0000

   register
       Register HCI event handler.

       Usage  > register 

   unregister
       Unregister HCI event handler.

       Usage  > unregister 

   close
       Close HCI channel.

       Usage  > close 

RESOURCES
       

REPORTING BUGS
       

Copyright
       Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL).

BlueZ							December 2024					 bluetoothctl-hci(1)