lkgps protocol returning

marcio santosa year ago

Hi everyone, Im implementing right now the lkgps protocol for tkstar905 4g.

according to their protocol, there is the command V1 that brings some information , like latitude, I was programming checking with it start with *HQ
like this that I got from the device:

2a48512c353930353130363135312c5631392c3230333635392c412c3030302e303030302c4e2c3030302e303030302c452c3030302e30302c3238302c3231303332332c2c2c38393535333230323130303030393332333838382c464637464642464623

that turn in:

*HQ,5905106151,V19,203659,A,000.0000,N,000.0000,E,000.00,280,210323,,,89553202100009323888,FF7FFBFF#

everything was going ok.

but sometimes it is returning:

30353130363135312c56312c3232323332332c412c3030302e303030302c4e2c3030302e303030302c452c3030312e34332c3137372c3231303332332c46463746464246462c3732342c30332c313131633430662c633864332c3623

that turned in :

05106151,V1,222323,A,000.0000,N,000.0000,E,001.43,177,210323,FF7FFBFF,724,03,111c40f,c8d3,6#

if you realized, its NOT start with *HQ, it is starting with a number? 05106151.

does any one has one idea of that is going on?

Anton Tananaeva year ago

Are you sure it doesn't send it or it's just split into separate network packets?

marcio santosa year ago

thanks for fast reply. Yes, I just printed everything that is coming from the device.

Anton Tananaeva year ago

Logs?

marcio santosa year ago

I have no logs because Im programming using c# to open a connection to accept data from gps.

Anton Tananaeva year ago

Maybe you can try Traccar then first and provide logs.

marcio santosa year ago

if I change the ip of device to connect to traccar, is there a log that I can check? I never use traccar before. I have to create a login and then I can setup the devices ip to connect to traccar? or do I have to install a server traccar on my machine?

Anton Tananaeva year ago

To check logs you would have to install locally.