Open Cell ID

mhannam8 years ago

I am trying to track a device using Open Cell ID when no GPS signal is available.

+RESP:GTFRI,210102, 354524044484948,,0,1,1,20,0.4,0,271.9,-79.920620,36.143859,20170104093804,  310,410,32aa,cee030a,00,88,20170104093804,004F$ 

It appears to me that the device is reporting these four parameters with the last two in hexadecimal.
MCC – 310
MNC – 410
LAC - 32aa
CellID - cee030a

I have added these lines to my config file for my Aeris device.

    <!-- Opencellid -->
    <entry key='location.enable'>true</entry>
    <entry key='location.key'>my key</entry>
    <entry key='location.mcc'>310</entry>
    <entry key='location.mnc'>850</entry>

How can I use this information to display my Aeris device's location with opencellid?

Anton Tananaev8 years ago

Your device reports GPS location in the same message. There is no point in using geolocation for this example.

mhannam8 years ago

It appears that the device is reporting it's last GPS position, even when there is no GPS signal. Do I need to change this setting on the device in order to use the Cell ID for geolocation?

+RESP:GTFRI,210102,354524044484948,,0,1,1,0,0.2,0,699.9,-115.220204,36.115038,20170106033834,310,410,907f,2058573,00,85,20170107131624,0199$
Anton Tananaev8 years ago

You can use "location.processInvalidPositions" config parameter to use cell geolocation for invalid GPS messages.

mhannam8 years ago

I've added location.processInvalidPositions to config along with the follow:

    <!-- Opencellid -->
    <entry key='location.enable'>true</entry>
    <entry key='location.key'>my key</entry>
    <entry key='location.mcc'>310</entry>
    <entry key='location.mnc'>850</entry>

The log is giving a DEBUG message.

2017-01-12 23:04:42 DEBUG: [6D9219E9: 5004 < 216.3.13.179] HEX: 2b524553503a47544652492c3231303130322c3335343532343034343438343934382c2c302c312c312c2c2c2c2c2c2c2c3331302c3431302c333263372c636566313731642c30302c38342c32303137303131323233303431352c3030303524

+RESP:GTFRI,210102,354524044484948,,0,1,1,,,,,,,,310,410,32c7,cef171d,00,84,20170112230415,0005$

MCC – 310
MNC – 410
LAC – 32c7
CellID – cef171d

What does the debug message mean and do you have any advice on how to get cellular geolocation working?

Anton Tananaev8 years ago

The log message means that server received the data from the device.

If there is no log with coordinates after it, it means that the message was not decoded.

mhannam8 years ago

Our tracking devices (Micron AT Plus) always send the last GPS fix- even if there is no GPS signal. The only other option I've been able to find is called 'Discard No Fix' which sends nothing if there isn't a GPS signal.

In this scenario where a GPS location is always sent, what are the options (if any) to decode the cell location in the app?

Anton Tananaev8 years ago

You can set "location.processInvalidPositions" parameter to enable cell information for invalid GPS locations.

Haim Rodrik5 years ago

mhannam - Did you solved by the MNC/MCC information to get a location ?

Let say I have Queclink device GV500Lite sending the example below

+RESP:GTFRI,210102,354524044484948,,0,1,1,0,0,0,0,00.000000,00.000000,20200518010045,310,410,32aa,cee030a,00,88,20200518010045,0000$

I should have a location on the Traccar map?