Ask / Submit
3

sailfish get cell info

asked 2016-08-17 19:32:47 +0200

matusala gravatar image

updated 2016-08-17 22:09:21 +0200

luen gravatar image

I'm trying to make program that can give me phone coordinates without GPS. For this i need GSM signal info. I can get registered operators info with this command /bin/dbus-send --system --print-reply=literal --type=method_call --dest=org.ofono /ril_0 org.ofono.NetworkRegistration.GetProperties

But how can i get neighbouring cell info? like in this app https://play.google.com/store/apps/details?id=com.ssglocator.android image description

edit retag flag offensive close delete

Comments

3

You might be interested in the Geoclue plugin for Mozilla Location Service, coming in Sailfish OS 2.0.2. It basically does what you try to accomplish, if I understand your question correctly: find the geographical location based on information from the mobile network cells (using Mozillas database of cell info mapped to coordinates).

luen ( 2016-08-17 22:16:54 +0200 )edit

Yes, you understood correctly. Thanks.

matusala ( 2016-08-17 23:02:15 +0200 )edit

1 Answer

Sort by » oldest newest most voted
7

answered 2016-08-17 22:07:39 +0200

luen gravatar image

Unfortunately neighbour cell information is not supported by oFono's D-Bus API yet: http://git.kernel.org/cgit/network/ofono/ofono.git/tree/TODO.

- Neighbor Cell Info.  Add dedicated atom, D-Bus API and atom driver(s) for
Neighbor Cell information.

This feature is not discussed in 27.007, thus manufacturer specific commands
are required.

Complexity: C4
Priority: Medium

Existing API documentation is located at http://git.kernel.org/cgit/network/ofono/ofono.git/tree/doc/.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2016-08-17 19:32:47 +0200

Seen: 449 times

Last updated: Aug 17 '16