Affichage des articles dont le libellé est wammu. Afficher tous les articles
Affichage des articles dont le libellé est wammu. Afficher tous les articles

jeudi 10 mai 2007

Phone issue wammu bluetooth synchro

Bon... je vais maintenant passer à une phase de test "autre", mais j'ai enfin réussi a faire communiquer wammu et mon téléphone mobile en bluetooth. 
 Je pense qu'il est nécessaire de lancer un service que je n'ai pas identifié encore, mais qui est lancé au démérrage, automatiquement. 

 Une hypothèse envisagée sur ce problème de "pairing" est la synchro de plusieurs services, dont le bluetooth. 
Et peut-être dbus (?). 

En tout cas, le problème se situait du côté de l'échange de clef, et du lancement du passkey-agent et de l'applet bluetooth-applet permettant d'indiquer la clef qui doit être échangée entre les deux devices connectés en bluetooth (le laptop et le mobile en l'occurence).

dimanche 6 mai 2007

Wammu + K610i + bluetooth

Donc... le bluetooth ne semble pas marcher "out of the box".

J'indique pourtant bien a mon telephone que j'autorise l'ordi a se connecter, mais rien n'y fait, l'ordi se fait basher.

Serait-ce un problème au niveau du code d'accès ? n'est-ce pas dans le fichier /etc/bluetooth/pin que ce code est décrit ?
C'est en tout cas celui-ci que j'indique et je n'en ai pas trouvé d'autre pour l'instant.


Voici pour conclure les traces que j'obtiens dans wammu lorsque je tente de lui faire détecter mon telephone en bluetooth (je rappelle que tout ceci fonctionne correctement lorsque je fais cela via un branchement usb, mais c'est pas marrant).

Dans la fenetre "normale" :

Starting /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Starting /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Starting /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Scanning for bluetooth devices using PyBluez
Checking 00:xx:xx:xx:xx:xx:xx (K610i) - ['bluephonet', 'bluefbus', 'bluerfgnapbus', 'blueat', 'bluerfphonet', 'bluerffbus', 'bluerfat']
Bluetooth device scan completed
Finished /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Finished /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Finished /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']
Finished 00:xx:xx:xx:xx:xx:xx (K610i) - ['bluephonet', 'bluefbus', 'bluerfgnapbus', 'blueat', 'bluerfphonet', 'bluerffbus', 'bluerfat']
All finished, found 0 phones




Dans la fenetre de debug :

Here will appear debug messages from Gammu...
Setting speed to 19200
[Module - "auto"]
Escaping SMS mode
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
[ERROR 12: Error during reading device.]
Sending simple AT command to wake up some devices
Enabling echo
Device 00:xx:xx:xx:xx:xx:xx ("K610i")
Channel 1 - "OBEX SyncML Client"
Channel 2 - "Dial-up Networking"
Channel 3 - "Serial Port"
Channel 4 - "Hands-Free Gateway"
Channel 5 - "Headset Gateway"
Channel 6 - "OBEX Object Push"
Channel 7 - "OBEX File Transfer"
Channel 8 - "OBEX IrMC Sync Server"
Channel 9 - "OBEX Phonebook Server"
[ERROR 21: Function not supported by phone.]
[ERROR 18: Unknown connection type string. Check config file.]
Connecting to RF channel 14
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
Device 00:xx:xx:xx:xx:xx:xx ("K610i")
Channel 1 - "OBEX SyncML Client"
Channel 2 - "Dial-up Networking"
Channel 3 - "Serial Port"
Channel 4 - "Hands-Free Gateway"
Channel 5 - "Headset Gateway"
Channel 6 - "OBEX Object Push"
Channel 7 - "OBEX File Transfer"
Channel 8 - "OBEX IrMC Sync Server"
Channel 9 - "OBEX Phonebook Server"
Connecting to RF channel 3
[ERROR 14: No response in specified timeout. Probably phone not connected.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
Connecting to RF channel 14
Connecting to RF channel 15
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
Connecting to RF channel 14
Connecting to RF channel 15
[ERROR 2: Error opening device. Unknown/busy or no permissions.]
Connecting to RF channel 1