|
From: <in...@ik...> - 2007-12-27 07:32:06
|
I am wondering what would be a usable setup for syncing my phone with my home computer. I have now syncml-obex-client with opensync svn working. The problem here is that it requires me to plug the phone to USB cable and execute the command in the computer. Well, I could buy bluetooth, but that would still require starting the sync from the computer side. What I would like to do is to do the sync from the phone over internet (WLAN, 3G, or maybe GPRS). Meaning that I would like to have a server running in the computer. If I get syncml-http-server working, how do I get it running constantly? Or should it be executed somehow on demand? Could I use the Python Twisted server I have running somehow in this? One problem is that it seems that syncml-http-server wants to listen a separate port and I already have http and https in use. This means that I would need to proxy the http from either of those to syncml-http-server. As an alternative I am thinking of developing a python plugin for opensync and python script for the S60 phone to handle the communication. Somehow it looks like syncml-http-server hasn't been designed to be actually used in a real world. -- Ilpo Nyyssönen # biny # /* :-) */ |
|
From: Sebastian V. <seb...@gm...> - 2007-12-27 08:02:47
|
On Dec 27, 2007 8:22 AM, Ilpo Nyyss=F6nen <in...@ik...> wrote: > > Well, I could buy bluetooth, but that would still require starting the > sync from the computer side. > If you connect via bluetooth you can initiate the sync on your device. That's how i used to do it at least. I start ActiveSync and then go to the menu and choose 'Connect via Bluetooth'. Sebastian |
|
From: <in...@ik...> - 2007-12-27 13:50:12
|
"Sebastian Vieira" <seb...@gm...> writes: > On Dec 27, 2007 8:22 AM, Ilpo Nyyssönen <in...@ik...> wrote: > >> >> Well, I could buy bluetooth, but that would still require starting the >> sync from the computer side. >> > > If you connect via bluetooth you can initiate the sync on your device. Well, I would prefer using WLAN / 3G as then I could also sync while on the road. I also really do not have bluetooth connectivity in my computers currently so I would need to buy something. Somehow it feels silly as I already can use WLAN in most of the cases. And what program in the computer side would do it? How would it start when the computer reboots? > That's how i used to do it at least. I start ActiveSync What is that? > and then go to the menu and choose 'Connect via Bluetooth'. No, this does not sound like an option. Even doing it with python sounds better alternative. -- Ilpo Nyyssönen # biny # /* :-) */ |
|
From: Sebastian V. <seb...@gm...> - 2007-12-27 14:11:47
|
On Dec 27, 2007 2:48 PM, Ilpo Nyyss=F6nen <in...@ik...> wrote: > > That's how i used to do it at least. I start ActiveSync > Whoops :) I (wrongly) thought you had a Windows CE based device. I'm sorry= , i don't know anything about other devices. S. |
|
From: Ildar M. <il...@us...> - 2008-01-03 04:09:37
|
Hi, Ilpo! I think the general idea here is to detect the situation when the phone =20 is in nearby and ready to sync, and start syncing at PC. How to detect =20 it? It depends on how the phone is connected. You noticed, that the phone is connected through Wifi/3G. Fairly, I =20 don't know anything about it. But at worst case you can test by pinging. Regards, Ildar --=20 Ildar Mulyukov, free SW designer/programmer =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D email: il...@us... home: http://tuganger.narod.ru/ ALT Linux Sisyphus =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |
|
From: <in...@ik...> - 2008-01-06 14:44:39
|
Ildar Mulyukov <il...@us...> writes: > Your solution sounds worth to share. I myself think of such a solution. > Would you? http://iny.iki.fi/developments/1/ -- Ilpo Nyyssönen # biny # /* :-) */ |
|
From: <in...@ik...> - 2008-01-03 04:59:56
|
Ildar Mulyukov <il...@us...> writes: > Hi, Ilpo! > > I think the general idea here is to detect the situation when the phone > is in nearby and ready to sync, and start syncing at PC. How to detect > it? It depends on how the phone is connected. > > You noticed, that the phone is connected through Wifi/3G. Fairly, I > don't know anything about it. But at worst case you can test by pinging. I really want to invoke the sync from the phone. This means that my PC must have a server software like web server listening. I now have my own solution implemented with python. It includes - A diff plugin gives opensync the phone side changes and gives back the diff to sent to the phone. - A web server resource (Twisted Nevow) to invoke the sync when a web server is rendered. Essentially the phone gives its data with POST and then the resource gives the diff as result. Only one HTTP request is needed for a sync. - A S60 python script to do the http client stuff in the phone. It is simple and works. Didn't take much time to implement. -- Ilpo Nyyssönen # biny # /* :-) */ |
|
From: Ildar M. <il...@us...> - 2008-01-03 05:20:35
|
On 03.01.2008 10:59:47, Ilpo Nyyss=F6nen wrote: > Ildar Mulyukov <il...@us...> writes: >=20 > > Hi, Ilpo! > > >> I think the general idea here is to detect the situation when the =20 >> phone is in nearby and ready to sync, and start syncing at PC. How =20 >> to detect it? It depends on how the phone is connected. > > >> You noticed, that the phone is connected through Wifi/3G. Fairly, I =20 >> don't know anything about it. But at worst case you can test by =20 >> pinging. >=20 > I really want to invoke the sync from the phone. This means that my =20 > PC must have a server software like web server listening. Sure. Can "connecting phone to PC" be treated as an "initiation"? > I now have my own solution implemented with python. It includes Your solution sounds worth to share. I myself think of such a solution. =20 Would you? Regards, Ildar. --=20 Ildar Mulyukov, free SW designer/programmer =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D email: il...@us... home: http://tuganger.narod.ru/ ALT Linux Sisyphus =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |