⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hciconfig.8

📁 这是Linux环境下的蓝牙源代码
💻 8
字号:
.TH HCICONFIG 8 "Nov 11 2002" BlueZ "Linux System Administration".SH NAMEhciconfig \- configure Bluetooth devices.SH SYNOPSIS.B hciconfig.B \-h.br.B hciconfig.RB [\| \-a \|].br.B hciconfig.RB [\| \-a \|].RI [\| command.RI [\| "command parameters" \|]\|].SH DESCRIPTION.LP.B hciconfigis used to configure Bluetooth devices..I hciXis the name of a Bluetooth device installed in the system. If.I hciXis not given,.B hciconfigprints name and basic information about all the Bluetooth devices installed inthe system. If.I hciXis given but no command is given, it prints basic information on device.I hciXonly. Basic information is interface type, BD address, ACL MTU, SCO MTU, flags (up, init, running, raw,page scan enabled, inquiry scan enabled, inquiry, authentication enabled,encryption enabled)..SH OPTIONS.TP.B \-h, \-\-helpGives a list of possible commands..TP.B \-a, \-\-allOther than the basic info, print features, packet type, link policy, link mode,name, class, version..SH COMMANDS.TP.B upOpen and initialize HCI device..TP.B downClose HCI device..TP.B resetReset HCI device..TP.B rstatReset statistic counters..TP.B authEnable authentication (sets device to security mode 3)..TP.B noauthDisable authentication..TP.B encryptEnable encryption (sets device to security mode 3)..TP.B noencryptDisable encryption..TP.B secmgrEnable security manager (current kernel support is limited)..TP.B nosecmgrDisable security manager..TP.B piscanEnable page and inquiry scan..TP.B noscanDisable page and inquiry scan..TP.B iscanEnable inquiry scan, disable page scan..TP.B pscanEnable page scan, disable inquiry scan..TP\fBptype\fP [\fItype\fP]With no.I type, displays the current packet types. Otherwise, all the packet types specifiedby.I typeare set..I typeis a comma-separated list of packet types, where the possible packet types are.BR DM1 ,.BR DM3 ,.BR DM5 ,.BR DH1 ,.BR DH3 ,.BR DH5 ,.BR HV1 ,.BR HV2 ,.BR HV3 ..TP.BI name " [name]"With no.IR name ,prints local name. Otherwise, sets local name to.IR name ..TP.BI class " [class]"With no.IR class ,prints class of device. Otherwise, sets class of device to.IR class ..Iclassis a 24-bit hex number describing the class of device, as specified in section1.2 of the Bluetooth Assigned Numers document..TP.BI voice " [voice]"With no.IR voice ,prints voice setting. Otherwise, sets voice setting to.IR voice ..I voiceis a 16-bit hex number describing the voice setting..TP.BI iac " [iac]"With no.IR iac ,prints the current IAC setting. Otherwise, sets the IAC to.IR iac ..TP.BI inqtpl " [level]"With no.IR level ,prints out the current inquiry transmit power level. Otherwise, setsinquiry transmit power level to.IR level ..TP.BI inqmode " [mode]"With no.IR mode ,prints out the current inquiry mode. Otherwise, sets inquiry mode to.IR mode ..TP.BI inqdata " [data]"With no.IR name ,prints out the current inquiry data. Otherwise, sets inquiry data to.IR data ..TP.BI inqtype " [type]"With no.IR type ,prints out the current inquiry scan type. Otherwise, sets inquiry scan type to.IR type ..TP\fBinqparams\fP [\fIwin\fP:\fIint\fP]With no.IR win : int ,prints inquiry scan window and interval. Otherwise, sets inquiry scan windowto.I winslots and inquiry scan interval to.I intslots..TP\fBpageparms\fP [\fIwin\fP:\fIint\fP]With no.IR win : int ,prints page scan window and interval. Otherwise, sets page scan window to.I winslots and page scan interval to.I intslots..TP.BI pageto " [to]"With no.IR to ,prints page timeout. Otherwise, sets page timeoutto .Itoslots..TP.BI afhmode " [mode]"With no.IR mode ,prints out the current AFH mode. Otherwise, sets AFH mode to.IR mode ..TP.BI sspmode " [mode]"With no.IR mode ,prints out the current Simple Pairing mode. Otherwise, sets Simple Pairing mode to.IR mode ..TP\fBaclmtu\fP \fImtu\fP:\fIpkt\fPSets ACL MTU toto.I mtubytes and ACL buffer size to.I pktpackets..TP\fBscomtu\fP \fImtu\fP:\fIpkt\fPSets SCO MTU to.I mtubytes and SCO buffer size to.I pktpackets..TP.BI putkey " <bdaddr>"This command stores the link key for.I bdaddron the device..TP.BI delkey " <bdaddr>"This command deletes the stored link key for.I bdaddrfrom the device..TP.BI oobdataDisplay local OOB data..TP.BI commandsDisplay supported commands..TP.BI featuresDisplay device features..TP.BI versionDisplay version information..TP.BI revisionDisplay revision information..TP.BI lm " [mode]"With no.I mode, prints link mode..B MASTERor.B SLAVEmean, respectively, to ask to become master or to remain slave when aconnection request comes in. The additional keyword.B ACCEPTmeans that baseband  connections will be accepted even if there are nolistening.I AF_BLUETOOTHsockets..I modeis.B NONEor a comma-separated list of keywords, where possible keywords are.B MASTERand.B "ACCEPT" ..B NONEsets link policy to the default behaviour of remaining slave and not acceptingbaseband connections when there are no listening.I AF_BLUETOOTHsockets. If.B MASTERis present, the device will ask to become master if a connection request comesin. If.B ACCEPTis present, the device will accept baseband connections even when there are nolistening.I AF_BLUETOOTHsockets..SH AUTHORSWritten by Maxim Krasnyansky <maxk@qualcomm.com> and Marcel Holtmann <marcel@holtmann.org>.PPman page by Fabrizio Gennari <fabrizio.gennari@philips.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -