Je veux connecter mon ordinateur à une oreillette bluetooth. Mon ordinateur est équipé du système d'exploitation serveur ubuntu 12.04 64 bits, sans interface graphique. Je dois donc connecter mon ordinateur via la ligne de commande. Mais sur internet, la documentation n'a pas d'exemple fonctionnel.
J'ai utilisé hciconfig
, hcitool
, btsco
etc. et je n'ai pas réussi.
La sortie de ma ligne de commande est :
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: Capturing, Audio
Device Class: Audio/Video, Device conforms to the Headset profile
HCI Version: 2.0 (0x3) Revision: 0xc5c
LMP Version: 2.0 (0x3) Subversion: 0xc5c
Manufacturer: Cambridge Silicon Radio (10)
hcitool scan
Scanning ...
00:11:67:00:25:02 BH025C
hcitool cc 00:11:67:00:25:02
Can't create connection: Connection timed out
J'ai un démon Bluetooth à /etc/init.d/bluetooth
et fonctionnent bien.
Comment se connecter via la ligne de commande ?