[Linux-bruxelles] hcitool et le bluetooth
Aldo
info at brlspeak.net
Ven 29 Aou 23:25:00 CEST 2008
Hello,
j'essaye sur Ubuntu de voir si je peux établir une connection avec le gsm
Nokia 3120 en ligne de commande;
voici ce que je fais:
dmesg |grep -i bluetooth
pour un minimum d'infos; ça donne:
[ 12.373187] Bluetooth: Core ver 2.11
[ 12.373405] Bluetooth: HCI device and connection manager initialized
[ 12.373408] Bluetooth: HCI socket layer initialized
[ 12.419170] Bluetooth: HCI USB driver ver 2.9
[ 25.876742] Bluetooth: L2CAP ver 2.8
[ 25.876746] Bluetooth: L2CAP socket layer initialized
[ 25.996640] Bluetooth: RFCOMM socket layer initialized
[ 25.996648] Bluetooth: RFCOMM TTY layer initialized
[ 25.996649] Bluetooth: RFCOMM ver 1.8
(j'en déduis que le dongle usb bt est bien trouvé.
Je précise que l'intéressée a bien activé le bluetooth dans son gsm)
Ensuite je fais: hcitool dev
et ça donne:
Devices:
hci0 00:02:72:11:6F:34
(là j'ai l'adresse mac je suppose?)
Mais si je fais: hcitool scan
j'obtiens rien:
Scanning ...
~$
Comment faire alors pour obtenir l'adresse hexa ?
(j'imagine que <bdaddr> c'est de l'adresse hexa qu'il s'agit ?)
A partir de là ça devient trouble.
Aldo.
Plus d'informations sur la liste de diffusion Linux-bruxelles