Commands

Hypemediaa year ago

What I try to achieve is to send a command back to the GPS device.

  1. For that I defined a simple command getver
    https://ibb.co/nkBD6TV

  2. I have connected that custom command to the device.
    https://ibb.co/JRtXsXs

  3. I send the command to the device.
    https://ibb.co/RSzdNxR

Expected outcome:
Returns code version, device IMEI, modem app version, RTC time, Init time, Uptime and BT MAC address.

Result:
There is no data returned.

This is the info in the traccar logs:

2024-03-31 01:41:30  INFO: [U7ffb2dbf] id: 864636063986067, command type: custom sent
2024-03-31 01:41:30  INFO: [U7ffb2dbf: teltonika > 18.158.164.113] 00000000000000100c0105000000086765747665720d0a0100004d36
2024-03-31 01:46:08  INFO: Event id: 864636063986067, time: 2024-03-31 01:46:08, type: deviceUnknown, notifications: 0

Please let me know if more info is needed.

Thanks.

Anton Tananaeva year ago

The command is sent correctly to the device, from hat I can tell.

Hypemediaa year ago

Ok so the issue is a maybe a misconfiguration of the device for the response. I will talk to teltonika guys on monday to check with them.

Thanks.

Cristiana year ago

Hypemedia, how do you manage to send a command from the device list? according to this image it looks like this
https://ibb.co/RSzdNxR

Hypemediaa year ago

Not sure I understand the question from that screen I send the command, that command was in advanced linked to the device.

Hypemediaa year ago

So found out the issue the response on the Teltonika GPS (configuration of the hardware device) was set to AVL, I changed that to TCP/IP and now all the commands are working.
Thank you for assistance.