XY006 GPS watch problem

irvin9 years ago

Hi,

I've a XY006 GPS watch and I've tried to connect it to my traccar server,
I've setup my traccar server's public ip and port(I'm using traccar for synology),
but I always only get the following information:

2015-10-02 22:50:09 DEBUG: [4E552AEC: 55009 <- 223.136.31.230] - HEX: 24240011300680002112420002e1780d0a
2015-10-02 22:50:09 DEBUG: [4E552AEC: 55009 -> 223.136.31.230] - HEX: 404000263006800021124200023139322e3136382e3130312e3235303a35353030395b430d0a
2015-10-02 22:50:09  INFO: Closing connection by disconnect

I think the problem in XY006 want to confirm the traccar server ip and port,
but traccar reply a internal ip to the device,
so the device can not connect to the internal ip so it disconnect the connection,
if possible to fix it? thanks!

protocol document:
http://wenku.baidu.com/view/46ebb5afdd88d0d233d46a39.html

Anton Tananaev9 years ago

Correct, your device asks Traccar for the server address. Traccar doesn't know your public IP address, so it replies with address of the network interface which is the best guess it can make. You need to add following line to the config file (put your public IP in place of "ip-address"):

<entry key='meiligao.server'>ip-address:55009</entry>

Some more information can be found here:
https://github.com/tananaev/traccar/issues/709

irvin9 years ago

Hi Anton,

It't worked, thanks!

and last question,
does traccar support LBS gps location?

Anton Tananaev9 years ago

Unfortunately Traccar doesn't currently support LBS locations. I am looking for a reliable service that can be used for resolving LBS data into location coordinates.

irvin9 years ago

got it,
and you can refer these two database
Unwired Labs API http://unwiredlabs.com/
OpenCellID http://opencellid.org/

Thanks!