The error seems pretty clear:
Cell not found
Have you tried different provider?
no, I haven't another api-key for lbs-provider and can't check it. I will try go to another base station and check
Why not try Google?
youre are right. in opencellid I give:
<rsp stat="fail">
<err info="Cell not found" code="1" notice="This cell tower was not found in OpenCelliD. However, it is available from Unwired Labs LocationAPI (unwiredlabs.com). We allow 50 free fallback requests to LocationAPI for OpenCelliD users. For more, please contact us at https://unwiredlabs.com/contact"/>
</rsp>```
and with google it works.
upd:
OpenCellID can make 50 requests to unwiredlabs database, but we can add to OpenCellID our base station. For examle:
1.Check OpenCellID database:http://www.opencellid.org/cell/get?mcc=250&mnc=2&cellid=24481&lac=9787&key=pk.openceelid_api_key
2.Find base station coordinates:http://api.mylnikov.org/mobile/main.py/get?mcc=250&mnc=2&cellid=24481&lac=9787&data=open&v=1.1
3.Add coordinates to OpenCellID database http://www.opencellid.org/cell/get?mcc=250&mnc=2&cellid=24481&lac=9787&key=pk.openceelid_api_key
4.After several hours we can check OpenCellID database again
Hi,
I have in the log:
2023-10-26 19:31:07 INFO: [T5a35b82d: h02 < 94.254.206.3] 2a48512c3836353230353033393630393338322c56332c3032323033302c32363030332c30362c3035333430322c3035353538312c3134352c2d37352c3035333430322c3035353537312c3134342c2c3035333430322c3034373633312c3133392c2c3035333430322c3034373633332c3133372c2c3035333430322c3035363331312c3133372c2c3035333430322c3035343838312c3133352c2c303241442c302c582c3033313130352c4646464646424646230d0a
2023-10-26 19:31:07 INFO: [T5a35b82d] id: 865205039609382, time: 2005-11-03 03:20:30, lat: 50.46360, lon: 18.81886, course: 0.0
I decoded the message:
*HQ,865205039609382,V3,022030,26003,06,053402,055581,145,-75,053402,055571,144,,053402,047631,139,,053402,047633,137,,053402,056311,137,,053402,054881,135,,02AD,0,X,031105,FFFFFBFF#
Now I'm trying to send a request to OpenCelliD. Based on the document https://www.traccar.org/protocol/5013-h02/h02_cantrack_secumore.pdf it should be something like that:
https://www.opencellid.org/cell/get?mcc=26003&mnc=06&cellid=55581&lac=53402&key=pk.XXXXXXXXXXXXXXXXX
But the answer for the above request is:
[rsp stat="fail"]
[err info="No valid cell IDs or LACs provided" code="3"/]
[/rsp]
How the correct request should look like?
Regards,
Marcin
Have you checked the documentation?
Yes, few times with a little break and finally works. It should be:
https://www.opencellid.org/cell/get?mcc=260&mnc=03&cellid=55581&lac=53402&key=pk.XXXXXXXXXXXXXXXXX
26003,06,053402,055581,145,-75,053402,055571,144,,053402,047631,139,,053402,047633,137,,053402,056311,137,,053402,054881,135, goes to:
26003 is MCC=260 and MNC=03 (there is no comma between)
06 is information "how many cells are included in the message"
cell no 1: 053402,055581,145,-75 with CELLID=55581 nad LAC=53402
...
cell no 6: 053402,054881,135, with CELLID=54881 nad LAC=53402
Hi!
I try use lbs with TK905.
I have config:
<entry key='geolocation.enable'>true</entry> <entry key='geolocation.type'>opencellid</entry> <entry key='geolocation.key'>token</entry> <entry key='geolocation.processInvalidPositions'>true</entry> <entry key='filter.zero'>true</entry>
I have "V"-flag in tracker message:
But I have this log:
And LBS doesnt work.
Can you help with it? What can work wrong?
Thanks in advance!