How does exactely works CellID

pierrot109 years ago

Hello,
I just installed traccar 32.3.3 in order to test the new feature and particularely CellID.
There is no information but I found a post where it state to add this

<entry key='location.enable'>true</entry>
    <entry key='location.key'>API KEY</entry>
    <entry key='location.mcc'>260</entry>
    <entry key='location.mnc'>2</entry>

(the two last line are optionnal and I commented it)
I added my API key.

Then I restaeted traccar and I see no differences after a new position has been saved.
In the databse, in the devise or position table, I can not see new field like mcc, mnc, towelid....

  1. How can I send the mnc, mcc, cid, lac to traccar? How should be the URL parameter?
  2. In which case a resquest is sent to CellID to get the GPS position? When the longitude and latitude are empty? When the valid field is false? When there are mnc,mcc,lac and cid into the URL?

In the previous version of traccar, the valid field of the position table could not be used. Is it now fix?
I would like to have it at 1 for GPS position and at 0 for GSM localisation.

Thank for your help and have a nice day

Anton Tananaev9 years ago

Some devices send cell information when they don't have GPS signal. Now Traccar is able to convert that information into coordinates. If your device doesn't send that data, you won't see any difference. Also, if messages include any GPS information, there will be no change either.

pierrot109 years ago

Ok, but how can I send the info to the server?
There is a spacial format?

Anton Tananaev9 years ago

What protocol/device are you talking about? Every device has its own protocol and format.

pierrot109 years ago

Dear Anton, I am using osmand protocol to send the data to the server...

Anton Tananaev9 years ago

OsmAnd protocol doesn't support this functionality.