Device Logs

Shashank6 years ago

Hi,
I have bought K16 device. I was able to get location in pre-programmed company address gps903.net.
I want to connect it to other server. When I saw the forum everyone was talking about logs where you can check the protocol format.
Where can I get the device logs? so that I can see which protocol is being used.

If lets say its GT06 protocol. Is there any way I can wrap my REST-POST api over it? I already have some POST api in place over some ip and port.

Anton Tananaev6 years ago

On this forum logs usually refer to Traccar server logs:

https://www.traccar.org/troubleshooting/

Shashank6 years ago

Hi Anton,

Thanks for the quick reply.
Seems like Unknown device is the issue. Where can we register it? Is there any web console. If yes then at which port is it running?

Shashank6 years ago

Figured it out. Its running on 8082 port. And data is coming correctly on the map.
One last question. I want to configure server to add some logic over lat long and store it in a database. Is there any way or any documentation to configure it?

Anton Tananaev6 years ago

You don't need to configure anything. Server will display all the information your device sends.

Shashank6 years ago

Yes true. But I want to store it in my db after applying some logic over it.

Anton Tananaev6 years ago

If you want to add some logic you would need to write code.