Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #688
Difficulty: Medium
The first computer to implement architectures enabling reverse Polish notation (RPN) was the Apple I computer.
True or False?
Linux & Unix Commands - Search Man Pages

hccontrol(8) [freebsd man page]

HCCONTROL(8)						    BSD System Manager's Manual 					      HCCONTROL(8)

NAME
hccontrol -- Bluetooth HCI configuration utility SYNOPSIS
hccontrol [-hN] [-n HCI_node_name] command [parameters ...] DESCRIPTION
The hccontrol utility connects to the specified Netgraph node of type HCI or the first one found if none is specified and attempts to send the specified command to the HCI Netgraph node or to the associated Bluetooth device. The hccontrol utility will print results to the stan- dard output and error messages to the standard error. The options are as follows: -h Display usage message and exit. -N Show Bluetooth addresses as numbers. Normally hccontrol attempts to resolve Bluetooth addresses, and display them symbolically. -n HCI_node_name Connect to the specified HCI Netgraph node. command One of the supported commands (see below). The special command help can be used to obtain the 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. Many commands require a remote device address as one of the parameters. The remote device address can be specified as BD_ADDR or a name. If a name was specified then the hccontrol utility will attempt to resolve the name via bt_gethostbyname(3). COMMANDS
The currently supported HCI commands in hccontrol are: Inquiry Create_Connection Disconnect Add_SCO_Connection Change_Connection_Packet_Type Remote_Name_Request Read_Remote_Supported_Features Read_Remote_Version_Information Read_Clock_Offset Role_Discovery Switch_Role Read_Link_Policy_Settings Write_Link_Policy_Settings Reset Read_Pin_Type Write_Pin_Type Read_Stored_Link_Key Write_Stored_Link_Key Delete_Stored_Link_Key Change_Local_Name Read_Local_Name Read_Connection_Accept_Timeout Write_Connection_Accept_Timeout Read_Page_Timeout Write_Page_Timeout Read_Scan_Enable Write_Scan_Enable Read_Page_Scan_Activity Write_Page_Scan_Activity Read_Inquiry_Scan_Activity Write_Inquiry_Scan_Activity Read_Authentication_Enable Write_Authentication_Enable Read_Encryption_Mode Write_Encryption_Mode Read_Class_Of_Device Write_Class_Of_Device Read_Voice_Settings Write_Voice_Settings Read_Number_Broadcast_Retransmissions Write_Number_Broadcast_Retransmissions Read_Hold_Mode_Activity Write_Hold_Mode_Activity Read_SCO_Flow_Control_Enable Write_SCO_Flow_Control_Enable Read_Link_Supervision_Timeout Write_Link_Supervision_Timeout Read_Page_Scan_Period_Mode Write_Page_Scan_Period_Mode Read_Page_Scan_Mode Write_Page_Scan_Mode Read_Local_Version_Information Read_Local_Supported_Features Read_Buffer_Size Read_Country_Code Read_BD_ADDR Read_Failed_Contact_Counter Reset_Failed_Contact_Counter Get_Link_Quality Read_RSSI The currently supported node commands in hccontrol are: Read_Node_State Initialize Read_Debug_Level Write_Debug_Level Read_Node_Buffer_Size Read_Node_BD_ADDR Read_Node_Features Read_Node_Stat Reset_Node_Stat Flush_Neighbor_Cache Read_Neighbor_Cache Read_Connection_List Read_Node_Link_Policy_Settings_Mask Write_Node_Link_Policy_Settings_Mask Read_Node_Packet_Mask Write_Node_Packet_Mask Read_Node_Role_Switch Write_Node_Role_Switch Read_Node_List EXIT STATUS
The hccontrol utility exits 0 on success, and >0 if an error occurs. SEE ALSO
bluetooth(3), netgraph(3), netgraph(4), ng_hci(4), hcseriald(8) AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BUGS
Most likely. Please report if found. BSD
February 7, 2015 BSD

Check Out this Related Man Page

NG_UBT(4)						   BSD Kernel Interfaces Manual 						 NG_UBT(4)

NAME
ng_ubt -- Netgraph node type that is also a driver for Bluetooth USB devices SYNOPSIS
#include <sys/types.h> #include <netgraph/bluetooth/include/ng_ubt.h> DESCRIPTION
The ubt node type is both a persistent Netgraph node type and a driver for Bluetooth USB devices. It implements a Bluetooth USB transport layer as per chapter H2 of the Bluetooth Specification Book v1.1. A new node is created when a supported USB device is plugged in. The node has a single hook called hook. Incoming bytes received on the device are re-assembled into HCI frames (according to the length). Full HCI frames are sent out on the hook. The node will add a HCI frame indicator if the device did not send it. HCI frames received on hook are transmitted out. The node will drop the HCI frame indicator unless the device requires it to be present. HARDWARE
The ng_ubt driver supports all Bluetooth USB devices that conform with the Bluetooth specification v1.1, including: o 3Com 3CREB96 o AIPTEK BR0R02 o EPoX BT-DG02 o Mitsumi Bluetooth USB adapter o MSI MS-6967 o TDK Bluetooth USB adapter HOOKS
This node type supports the following hooks: hook single HCI frame contained in a single mbuf structure. CONTROL MESSAGES
This node type supports the generic control messages, plus the following: NGM_UBT_NODE_GET_DEBUG Returns an integer containing the current debug level for the node. NGM_UBT_NODE_SET_DEBUG This command takes an integer argument and sets the current debug level for the node. NGM_UBT_NODE_GET_QLEN This command takes a parameter that specifies the queue number and returns the current maximal length of the queue for the node. NGM_UBT_NODE_SET_QLEN This command takes two parameters that specify the queue number and the maximum length of the queue and sets the maximal length of the queue for the node. NGM_UBT_NODE_GET_STAT Returns various statistic information for the node, such as: number of bytes (frames) sent, number of bytes (frames) received and number of input (output) errors. NGM_UBT_NODE_RESET_STAT Reset all statistic counters to zero. SHUTDOWN
This node shuts down when the corresponding USB device is un-plugged. SEE ALSO
netgraph(4), ugen(4), usb(4), ngctl(8) HISTORY
The ubt node type was implemented in FreeBSD 5.0. AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BUGS
Isochronous USB transfers are broken. This means that the USB device will not be able to transfer SCO data (voice). USB interrupt transfers are implemented as bulk-in transfers (not really a bug). BSD
September 13, 2004 BSD

Featured Tech Videos