Your "location.type" value is incorrect. Please check documentation for the possible values.
Thank you! Is Google currently supported for geolocation? Are there any plans to support it?
Yes, it is supported. Use "google" as the type.
I have tried Google for geolocation with these settings.
<entry key='location.enable'>true</entry> <entry key='location.type'>google</entry> <entry key='location.key'>google_api_key</entry>
Also have tried OpenCellID with these settings.
<entry key='location.enable'>true</entry> <entry key='location.type'>opencellid</entry> <entry key='location.key'>my_opencellid_key</entry>
Neither service will resolve a location.
My device reports:
+RESP:GTWIF,210102,354524044608058,,4,c413e2010e54,-38,,,,c413e2010e55,-39,,,,c8d3ff04a837,-57,,,,705a0f1658b8,-61,,,,,,,,100,20170310123158,0166$
From the log:
2017-03-10 12:32:01 INFO: [1B87CA5F] connected 2017-03-10 12:32:01 DEBUG: [1B87CA5F: 5004 < 216.3.13.179] HEX: 2b524553503a47545749462c3231303130322c3335343532343034343630383035382c2c342c6334313365323031306535342c2d33382c2c2c2c6334313365323031306535352c2d33392c2c2c2c6338643366663034613833372c2d35372c2c2c2c3730356130663136353862382c2d36312c2c2c2c2c2c2c2c3130302c32303137303331303132333135382c3031363624 2017-03-10 12:32:01 INFO: [1B87CA5F] id: 354524044608058, time: 2017-03-09 13:50:33, lat: 36.06600, lon: -79.79154, speed: 0.4, course: 0.0 2017-03-10 12:32:23 INFO: [1B87CA5F] disconnected
Do you have any suggestions on how to troubleshoot?
This is on GL200 protocol.
The prefix in the config should be "geolocation", not "location".
I'm an idiot. Thank you.
You are not. The prefix has changed in version 3.10. It was "location" before.
Hi mhannam, could you share what device are you using with LBS to get location with Wifi and Cell ID? Thanks in advance.
I am having a difficult time getting wifi geolocation to work. I'm using GL200 protocol.
Here is the log output:
And my config file:
Any ideas on why location is not being resolved?
Thanks!