我想将我的电脑连接到蓝牙耳机。我的电脑有 ubuntu 12.04 64 位服务器操作系统,没有 gui。所以我必须通过命令行连接我的电脑。但是在互联网文档中没有工作示例。
我已经使用hciconfig,hcitool,btsco等我没有成功。
我的命令行输出是:
hciconfig -a
hci0: Type: BR/EDR Bus: USB
BD Address: 00:15:83:2E:2F:70 ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING
RX bytes:2309 acl:0 sco:0 events:118 errors:0
TX bytes:299 acl:0 sco:0 commands:48 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'EDRClassone'
Class: 0x280404
Service Classes: …Run Code Online (Sandbox Code Playgroud)