Help needed with GSM Geolocation without GPS

Al Johnson openmoko at
Tue Nov 6 20:09:37 CET 2012

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 supports getting the subsequent cell IDs, but the modem
> does
> not support reporting these, so you get a FAILED.

It does, but not if you're currently registered with a network.

> You cannot (as I understand it) get any information of this form from
> the GTA01/2 modem.

You can, but you need to unregister first. Just tested on a very old SHR with 
an expired SIM. On power up it registers sufficiently to make emergency calls. 
At this point GetServingCellInformation returns correct data but 
GetNeighbourCellInformation does not. Call 
org.freesmartphone.GSM.Network.Unregister and subsequent  
GetNeighbourCellInformation calls will return data for the cells it can see. 
Those bits of the API may have changed since the version I tested on, but if 
it can't get the data it's a bug rather than a problem with the modem.

> (Please note, this is fuzzy memory, it's been a while).

Understandable. I had to test it to see if I remembered correctly.

> _______________________________________________
> Openmoko community mailing list
> community at

More information about the community mailing list