大家好!最近,我在笔记本电脑上遇到了蓝牙问题。现在,我只问一个:是否有明确的方法可以使用完全CMD(窗口)查找信息并维护蓝牙?而且,请不要向我推荐外部软件包和程序。如果没有办法-那就这样吧。谢谢!
在debian软件包中,有bluez-utils软件包。它包含以下几个命令行工具:
hcitool: configure Bluetooth connections. e.g. $ hcitool dev will list the devices
hciconfig: configure Bluetooth devices. Once you found a device, you can configure it.
它们可能存在用于从/向蓝牙设备发送,接收等的命令
我不知道Windows命令提示符中有什么可用于控制蓝牙的东西,但是您可以从PowerShell中与Windows事件日志进行交互。事件日志将包含有关蓝牙设备及其连接的详细日志和事件。
查看PowerShell cmdlet文档here
第三方工具btinfo.exe
可以达到此目的。从http://bluetoothinstaller.com/bluetooth-command-line-tools/btinfo.html下载。用法是:btinfo [-n] [-a] [-t] [-s] [-b] [-m] [-d] [-c] [-f{FormatString}]
>-n Print friendly name
>-a Print bluetooth address
>-t Print class-of-device (CoD)
>-s Print subversion
>-b Print manufacturer name (decoded from bluetooth address)
>-m Print chip namufacturer name
>-d Print discovery state
>-c Print connectable state
>-f Print information using provided format string.
>-h Print help screen.
>When run without switches full local radio information is printed. >The -f switch supports the following format specifiers:
>%n% - friendly name
>%a% - bluetooth address
>%t% - class-of-device (CoD)
>%s% - subversion
>%b% - manufacturer name
>%m% - chip namufacturer name
>%d% - discovery state
>%c% - connectable state
>\n - new line
>\t - tab
>\\ - backslash
>All other characters are displayed as-is.