To test whether the low-level HERE stack gets a location, put 
http://people.canonical.com/~lool/espoo-cli on your phone (will be included 
along HERE bits in the future) and run with:
chmod a+x espoo-cli
GLOG_logtostderr=1 GLOG_v=100 
LD_LIBRARY_PATH=/custom/vendor/here/location-provider/lib/arm-linux-gnueabihf 
./espoo-cli 5

NB: 5 is the number of location updates after which the tool exits; updates 
should come in at approx 15s interval. Output looks like:
I1101 21:30:01.285964  4403 cli.cpp:117] Requested number of updates is 2
I1101 21:30:01.299002  4403 cli.cpp:133] Starting location updates
I1101 21:30:01.301888  4403 cli.cpp:141] Starting GLib main loop
I1101 21:30:11.304612  4403 cli.cpp:158] Location: tstamp=1414891811 lat=xyz 
long=foo hor. acc.=2569 alt=nan vert. acc.=nan tech=cell
I1101 21:30:11.306061  4403 cli.cpp:170] Remaining updates: 1
I1101 21:30:26.736821  4403 cli.cpp:158] Location: tstamp=1414891826 lat=xyz 
long=foo hor. acc.=2824 alt=nan vert. acc.=nan tech=cell
I1101 21:30:26.738348  4403 cli.cpp:148] Stopping location updates

This worked for me on mako and krillin with respectively latest vivid
and rtm from yesterday (139); however I did manage to get a "general
error" in one case on krillin, seemingly because I started this when the
device was still booting.

Interestingly, I get tech=cell for krillin and tech=wifi for mako,
despite both being on the same table; this suggests these dont have the
same wifi and/or cell visibility.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1387708

Title:
  [TOPBLOCKER] Location services not getting location

To manage notifications about this bug go to:
https://bugs.launchpad.net/location-service/+bug/1387708/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to