Device geolocalization with latitude longitude | Telit Cinterion IoT Developer Community
September 14, 2016 - 1:43pm, 2077 views
This is what I get from console:
[INFO] [LocationReportConnection: LocationReport] call sendCellIdLocation
[INFO] [MessageTask_321] Reporting finished: sendCellIdLocation(77180431,27906,250,99,1072920968)
(the same information as before)
using AT^SMONI :
^SMONI: 3G,10813,345,-11.0,-94,250,99,6D02,4995609,7,17,NOCONN
(here,using AT^SMONI is little diferent using LAC(HEX) and CID (HEX))
and also I would like to get information from module in the same format (latitude, longitude) as in the Sensor Logic Portal > Device > Location
how to print the same information but with latitude and longitude? I founded a web page that can transform and get the location using cellidlocation, but maybe is posible to use another way.
Thanks.
Hello,
The LAC and cellID are printed by SMONI and other AT commands in hexadecimal format. But SL API uses decimal format for sending these data and that is the reason why you see different values.
You cannot print latitude and longitude by AT commands because the module does not know the position. You could only get it form GPS receiver if there would be one connected or integrated.
As you have noticed there are services that can provide the rough location based on MNC, MCC, LAC and cellID information - they have databases with some mappings. And in this case it is done by the SL platform.
Regards,
Bartłomiej