本文主要是介绍linux bluez bluetooth工具命令使用,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
bluez 编译生成的工具集:
bccmd
bluemoon
bluetoothctl
btattach
btmon
ciptool
hciattach
hciconfig
hcidump
hcitool
hex2hcd
l2ping
l2test
mpris-proxy
rctest
rfcomm
sdptool
hcitool:
hcitool - HCI Tool ver 5.48
Usage:hcitool [options] <command> [command parameters]
Options:--help Display help-i dev HCI device
Commands:dev Display local devicesinq Inquire remote devicesscan Scan for remote devicesname Get name from remote deviceinfo Get information from remote devicespinq Start periodic inquiryepinq Exit periodic inquirycmd Submit arbitrary HCI commandscon Display active connectionscc Create connection to remote devicedc Disconnect from remote devicesr Switch master/slave rolecpt Change connection packet typerssi Display connection RSSIlq Display link qualitytpl Display transmit power levelafh Display AFH channel maplp Set/display link policy settingslst Set/display link supervision timeoutauth Request authenticationenc Set connection encryptionkey Change connection link keyclkoff Read clock offsetclock Read local or remote clocklescan Start LE scanleinfo Get LE remote informationlewladd Add device to LE White Listlewlrm Remove device from LE White Listlewlsz Read size of LE White Listlewlclr Clear LE White Listlerladd Add device to LE Resolving Listlerlrm Remove device from LE Resolving Listlerlclr Clear LE Resolving Listlerlsz Read size of LE Resolving Listlerlon Enable LE Address Resolutionlerloff Disable LE Address Resolutionlecc Create a LE Connectionledc Disconnect a LE Connectionlecup LE Connection UpdateFor more information on the usage of each command use:hcitool <command> --help
这篇关于linux bluez bluetooth工具命令使用的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!