Re: Help needed with GSM Geolocation without GPS

2012-11-11 Thread Onen
Hi, as I am not a very active member of the project any more, I don't remember exactly the content of the sqlite file. If not in there, you might have a look at the server side code. Based on raw data, IIRC that is what the server is building: some kind of coverage map. Then (so it seems,

Installing FSO on qtmoko (was: Re: Help needed with GSM Geolocation without GPS)

2012-11-07 Thread Daniele Forsi
2012/11/6 Radek Polak: Yes, all the phone functions will use FSO dbus calls. The qtopiaphonemodem will not be used. I tried to install FSO from within neocontrol and I didn't succeed one problem is that the terminal window closes too fast and it's not easy to see that there were errors so I

Re: Help needed with GSM Geolocation without GPS

2012-11-07 Thread Onen
Hi, you are absolutely right, my client for GTA02 was getting neighbour cells. I rely on FSO API. For neighbour cells data to make sense, IIRC, you must be connected to the network. Onen On 11/06/2012 04:44 PM, robin wrote: so is there any other way to get this information? also I think

Re: Help needed with GSM Geolocation without GPS

2012-11-07 Thread Onen
On 11/06/2012 08:19 AM, Neil Jerram wrote: 4. Position being shown in NeronGPS as in eg in the Whereabouts-Mappingdemo shown on the QtMokoDev Page [1] Sounds good. I wonder what the trade-off is between implementing something like this from scratch for GTA04, and trying to integrate an

Re: Help needed with GSM Geolocation without GPS

2012-11-07 Thread Onen
This has been discussed and tested already, especially by DocScrutinizer. Location based on signal strengh does not work. Much to many interferences. But what we do is to have a coverage area for a cell, then you can find the intersection of areas for serving and neighbour cells. Onen On

Re: Help needed with GSM Geolocation without GPS

2012-11-07 Thread Onen
On 11/06/2012 04:27 PM, robin wrote: 2) python script + sqlite db compare cells to cells in database select the relevant ones and their position apply some function to estimate the real position You may have a look here:

Re: Help needed with GSM Geolocation without GPS

2012-11-07 Thread robin
I think I will give this a try. I looked at the source of the sqlite file, and you can easily get the location. Is there any easy way to get the area the cell covers as a polygon, so we can check for intersections as you suggested? br robin ___

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
Sounds good. I wonder what the trade-off is between implementing something like this from scratch for GTA04, and trying to integrate an existing partial solution such as GeoClue? hi neil, as far as I understand geoclue comprises a communication between a provider and your phone, so that

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
hi daniele, maybe you can help me with your code: what I get import dbus from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) bus = dbus.SystemBus() gsm_device_obj = bus.get_object( 'org.freesmartphone.ogsmd', '/org/freesmartphone/GSM/Device' ) gsm_cell_monitor =

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Pascal Gosselin
Question: Is is possible to do cell-based location with an de-activated SIM ?I recall that many phones will allow for an Emergency Call (911 in North America) without an active subscription. Can the Cell ID (CID) be obtained on the GTA02 in such a situation ? -Pascal

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread mauve
On 06.11.2012 13:52, Pascal Gosselin wrote: Question: Is is possible to do cell-based location with an de-activated SIM ?I recall that many phones will allow for an Emergency Call (911 in North America) without an active subscription. Can the Cell ID (CID) be obtained on the GTA02 in such a

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Denis 'GNUtoo' Carikli
On Mon, 5 Nov 2012 16:01:21 + (UTC) robin spielr...@web.de wrote: Hi, I wanted to give the GSM location a try. So what I would like to acchieve in the end is: 0. GPS off 1. GSM Cells are detected 2. Triangulation takes place (I don't know yet if eg signal strength is used) 3.

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
I guess one could split the whole thing in three parts so it would be adaptable to both qtmoko and shr. I can only program in python and may add a sqlite data base. having read a bit more about triangulation, the task will be much more difficult than I though, but one will see. the three parts of

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread mauve
On 06.11.2012 11:37, robin wrote: hi daniele, maybe you can help me with your code: what I get snip dbus.exceptions.DBusException: org.freesmartphone.GSM.DeviceFailed: OK any ideas why the call does not work? Because FSO supports getting the subsequent cell IDs, but the modem does not

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
so is there any other way to get this information? also I think that the openbmap logger which worked nicely on my gta02 was somehow able to get the neighbouring cells. but I might be mistaken. ___ Openmoko community mailing list

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Daniele Forsi
2012/11/6 robin: so is there any other way to get this information? GetNeighbourCellInformation works on the GTA02, I used it the following code works for me, I just checked it with SHR-20101205, it used to work also on Debian but some update broke something, and I can't get it to work with

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
thanks I will give that a try. Does anyone know if there has been a major change with fso. I just installed cellhunter on shr and when I hit the button to get the cell the console gives while len(self.cell_la) 4: TypeError: object of type 'dbus.Int32' has no len() does anyone know about

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Daniele Forsi
2012/11/6 robin: Does anyone know if there has been a major change with fso. I just installed cellhunter on shr and when I hit the button to get the cell the console gives while len(self.cell_la) 4: TypeError: object of type 'dbus.Int32' has no len() you can find a patched version here (I

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
regarding qtmoko v48 and fso. does installing and using fso to get cell information mean that you fso then also takes over all the communication with the modem (eg. calls, and so on)? or can the qt-system and fso live in peace next to each other? ___

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Neil Jerram
robin spielr...@web.de writes: Sounds good. I wonder what the trade-off is between implementing something like this from scratch for GTA04, and trying to integrate an existing partial solution such as GeoClue? hi neil, as far as I understand geoclue comprises a communication between a

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Al Johnson
On Tuesday 06 November 2012 15:29:52 mauve wrote: On 06.11.2012 11:37, robin wrote: hi daniele, maybe you can help me with your code: what I get snip dbus.exceptions.DBusException: org.freesmartphone.GSM.DeviceFailed: OK any ideas why the call does not work? Because FSO

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Radek Polak
On Tuesday, November 06, 2012 06:19:13 PM robin wrote: regarding qtmoko v48 and fso. does installing and using fso to get cell information mean that you fso then also takes over all the communication with the modem (eg. calls, and so on)? Yes, all the phone functions will use FSO dbus calls.

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Neil Jerram
robin spielr...@web.de writes: I guess one could split the whole thing in three parts so it would be adaptable to both qtmoko and shr. I can only program in python and may add a sqlite data base. having read a bit more about triangulation, the task will be much more difficult than I though,

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Al Johnson
On Tuesday 06 November 2012 08:09:58 robin wrote: Sounds good. I wonder what the trade-off is between implementing something like this from scratch for GTA04, and trying to integrate an existing partial solution such as GeoClue? hi neil, as far as I understand geoclue comprises a

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
the patched version works nicely. thanks for pointing me there. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread robin
does anyone know if the agps-onlinec works on SHR? because then one could already make use of the location of the main cell nearby to get the right coordinates for the assisted-gps query (one then needs gprs/wlan though and an account with u-blox). #!/bin/sh echo 1

Re: Help needed with GSM Geolocation without GPS

2012-11-06 Thread Radek Polak
On Wednesday, November 07, 2012 07:28:41 AM robin wrote: does anyone know if the agps-onlinec works on SHR? because then one could already make use of the location of the main cell nearby to get the right coordinates for the assisted-gps query (one then needs gprs/wlan though and an account

Help needed with GSM Geolocation without GPS

2012-11-05 Thread robin
Hi, I wanted to give the GSM location a try. So what I would like to acchieve in the end is: 0. GPS off 1. GSM Cells are detected 2. Triangulation takes place (I don't know yet if eg signal strength is used) 3. Look-up in the OpenCellID offline (!) text database 4. Position being shown in

Re: Help needed with GSM Geolocation without GPS

2012-11-05 Thread robin
Dear Daniele, thanks for your reply. I was thinking to implement the whole in python. Currently it is all done by hand: I checked with openbmap what cellid I should be connected to and then downloaded the opencellid cells.txt.gz file to check if the coordinates fit and they do. so having the

Re: Help needed with GSM Geolocation without GPS

2012-11-05 Thread Neil Jerram
robin spielr...@web.de writes: Hi, I wanted to give the GSM location a try. So what I would like to acchieve in the end is: 0. GPS off 1. GSM Cells are detected 2. Triangulation takes place (I don't know yet if eg signal strength is used) 3. Look-up in the OpenCellID offline (!) text