最終更新:2024-11-19 (火) 14:31:25 (20d)  

hciconfig
Top / hciconfig

configure Bluetooth devices

# hciconfig

コマンド

BLE/アドバタイズ

Ubuntu/パッケージ

デバイス名

help

  • hciconfig - HCI device configuration utility
    Usage:
    	hciconfig
    	hciconfig [-a] hciX [command ...]
    Commands:
    	up                 	Open and initialize HCI device
    	down               	Close HCI device
    	reset              	Reset HCI device
    	rstat              	Reset statistic counters
    	auth               	Enable Authentication
    	noauth             	Disable Authentication
    	encrypt            	Enable Encryption
    	noencrypt          	Disable Encryption
    	piscan             	Enable Page and Inquiry scan
    	noscan             	Disable scan
    	iscan              	Enable Inquiry scan
    	pscan              	Enable Page scan
    	ptype      [type]  	Get/Set default packet type
    	lm         [mode]  	Get/Set default link mode
    	lp         [policy]	Get/Set default link policy
    	name       [name]  	Get/Set local name
    	class      [class] 	Get/Set class of device
    	voice      [voice] 	Get/Set voice setting
    	iac        [iac]   	Get/Set inquiry access code
    	inqtpl     [level] 	Get/Set inquiry transmit power level
    	inqmode    [mode]  	Get/Set inquiry mode
    	inqdata    [data]  	Get/Set inquiry data
    	inqtype    [type]  	Get/Set inquiry scan type
    	inqparms   [win:int]	Get/Set inquiry scan window and interval
    	pageparms  [win:int]	Get/Set page scan window and interval
    	pageto     [to]    	Get/Set page timeout
    	afhmode    [mode]  	Get/Set AFH mode
    	sspmode    [mode]  	Get/Set Simple Pairing Mode
    	aclmtu     <mtu:pkt>	Set ACL MTU and number of packets
    	scomtu     <mtu:pkt>	Set SCO MTU and number of packets
    	delkey     <bdaddr>	Delete link key from the device
    	oobdata            	Get local OOB data
    	commands           	Display supported commands
    	features           	Display device features
    	version            	Display version information
    	revision           	Display revision information
    	block      <bdaddr>	Add a device to the blacklist
    	unblock    <bdaddr>	Remove a device from the blacklist
    	lerandaddr <bdaddr>	Set LE Random Address
    	leadv      [type]  	Enable LE advertising
    			0 - Connectable undirected advertising (default)
    			3 - Non connectable undirected advertising
    	noleadv            	Disable LE advertising
    	lestates           	Display the supported LE states
    

関連