Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
nokia_n70 [Le 01/04/2009, 19:43] eatman |
nokia_n70 [Le 11/09/2022, 11:37] (Version actuelle) moths-art Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Synchronisation Evolution - N70 par bluetooth ====== | + | {{tag>téléphonie bluetooth}} |
- | === Prérequis: === | + | ---- |
- | [[apt://multisync-tools opensync-plugin-evolution opensync-plugin-syncml libsyncml-utils]] | + | ====== Synchronisation des contacts Evolution - N70 par bluetooth ====== |
+ | |||
+ | ===== Configuration ===== | ||
+ | ==== Prérequis: ==== | ||
+ | |||
+ | [[apt://multisync-tools,opensync-plugin-evolution,opensync-plugin-syncml,libsyncml-utils]] | ||
+ | |||
+ | <note warning>opensync-plugin-syncml a été supprimé des dépôts de lucid car une des dépendances n'est plus disponible. Un bug (https://bugs.launchpad.net/ubuntu/+source/libopensync-plugin-syncml/+bug/524938) est ouvert pour remettre le paquet à jour avec les bonnes versions. En attendant, il existe une solution de contournement, que je n'ai pas testé personnellement, mais si cela interesse quelqu'un, c'est ici, au 5ème message: http://ubuntuforums.org/showthread.php?t=1474031</note> | ||
<code>msynctool --listplugins</code> | <code>msynctool --listplugins</code> | ||
- | Doit vous rendre au moins: | + | |
+ | Doit vous retourner au moins: | ||
<code>Available options: | <code>Available options: | ||
syncml-http-server | syncml-http-server | ||
Ligne 12: | Ligne 21: | ||
evo2-sync</code> | evo2-sync</code> | ||
- | === Création du groupe et des utilisateurs === | + | ==== Création du groupe et des utilisateurs ==== |
- | == Création du groupe == | + | === Création du groupe === |
<code>msynctool --addgroup "Nom_du_groupe"</code> | <code>msynctool --addgroup "Nom_du_groupe"</code> | ||
- | == Création des utilisateurs == | + | === Création des utilisateurs === |
<code>msynctool --addmember "Nom_du_groupe" evo2-sync | <code>msynctool --addmember "Nom_du_groupe" evo2-sync | ||
msynctool --addmember "Nom_du_groupe" syncml-obex-client</code> | msynctool --addmember "Nom_du_groupe" syncml-obex-client</code> | ||
- | === Configuration des utilisateurs === | + | ==== Configuration des utilisateurs ==== |
+ | |||
+ | Dans l'exemple ci-dessous, le "Nom_du_groupe" utilisé est nokia-evo. \\ | ||
+ | Le 2 correspond à la page de config du deuxième membre du groupe. Si le code XML ci dessous ne correspond pas à ce que vous avez d'affiché, essayez en remplaçant le 2 par 1. | ||
<code>export EDITOR=gedit && msynctool --configure nokia-evo 2</code> | <code>export EDITOR=gedit && msynctool --configure nokia-evo 2</code> | ||
Et là, c'est du xml bien laid mais on va faire avec: | Et là, c'est du xml bien laid mais on va faire avec: | ||
+ | Je n'ai mis que les lignes à changer. | ||
- | <note><?xml version="1.0"?> | + | <note> |
- | <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected --> | + | <bluetooth_address></bluetooth_address> |
- | <bluetooth_address>00:19:2D:19:EA:47</bluetooth_address> | + | |
- | <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel --> | ||
<bluetooth_channel>11</bluetooth_channel> | <bluetooth_channel>11</bluetooth_channel> | ||
- | <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. --> | ||
- | <interface>0</interface> | ||
- | |||
- | <!-- The string that the plugin will use to identify itself. Some devices need a special string here. --> | ||
<identifier>PC Suite</identifier> | <identifier>PC Suite</identifier> | ||
- | <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 --> | ||
<version>1</version> | <version>1</version> | ||
- | <!-- if the plugin should use wbxml --> | ||
<wbxml>1</wbxml> | <wbxml>1</wbxml> | ||
- | <!-- The username to use. Leave empty to not require a username --> | + | <usestringtable>1</usestringtable> |
- | <username></username> | + | |
- | + | ||
- | <!-- the password for the username --> | + | |
- | <password></password> | + | |
- | <!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth --> | + | <recvLimit>10000</recvLimit> |
- | <type>2</type> | + | |
- | <!-- If wbxml is enabled, defines wether the wbxml should use string tables --> | + | <maxObjSize>10000</maxObjSize> |
- | <usestringtable>1</usestringtable> | + | </note> |
+ | <note important>Pour connaitre l'adresse bluetooth (première ligne à modifier) | ||
+ | <code>hcitool scan</code> | ||
+ | Copiez la chaine de caractère de type XX:XX:XX:XX:XX:XX nom_du_mobile | ||
- | <!-- Never send ADD command, but send REPLACE (not needed normally) --> | + | (Juste les XX:...:XX) |
- | <onlyreplace>0</onlyreplace> | + | </note> |
- | <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! --> | + | ==== Vérification et synchronisation ==== |
- | <onlyLocaltime>0</onlyLocaltime> | + | |
- | <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 --> | + | === Vérification === |
- | <recvLimit>10000</recvLimit> | + | |
- | <maxObjSize>10000</maxObjSize> | + | <code>msynctool --showgroup "Nom_du_groupe"</code> |
- | <!-- The name of the contacts db. Must be the same as the phones sends --> | + | Pour vérifier que la configuration a bien été effectuée |
- | <contact_db>Contacts</contact_db> | + | |
- | <!-- The name of the calendar db. Must be the same as the phones sends --> | + | === Synchronisation === |
- | <calendar_db>Calendar</calendar_db> | + | |
- | <!-- The name of the note db. Must be the same as the phones sends --> | + | <code>msynctool --sync "Nom_du_groupe"</code> |
- | <note_db>Notes</note_db> | + | |
- | </note> | + | ===== En cas de non fonctionnement à ce stade ===== |
+ | |||
+ | Il existe un outils graphique pour gérer les groupes et utilisateurs: | ||
+ | [[apt://multisync0.90]] | ||
+ | |||
+ | <code>multisync0.90</code> | ||
+ | |||
+ | - + en haut à gauche | ||
+ | - Entrez nom de groupe | ||
+ | - Modifier | ||
+ | - Add member | ||
+ | - °Evolution 2.x | ||
+ | - Add member | ||
+ | - °Syncml obex | ||
+ | - Sélectionnez Sync-obex-client et effectuez les modification précédemment donnée dans le fichier. | ||
+ | - Sélectionnez evo2-sync et choisissez quel calendrier/carnet d'adresse etc à synchroniser. | ||
+ | - Quiter | ||
+ | - <code>msynctool --sync "Nom_du_groupe"</code> | ||
+ | |||
+ | Personnellement je ne voulais synchroniser que mes contacts, j'ai donc coché les cases des autres synchronisation dans le compte par multisync0.90 pour les inhiber. | ||
+ | |||
+ | [[utilisateurs/eatman|eatman]] |