Send Command to Teltonika device

Amirosa year ago

I would like to send a custom command through the Traccar interface to start or stop the engine. Could you please provide me with the hexadecimal value of these commands?

Anton Tananaeva year ago

Why hexadecimal? I'm pretty sure it expects text format.

Amirosa year ago

I've looked through the teltonika documentation and found a few commands such as 'getgps', 'getinfo'... are you sure you're talking about these commands?

Anton Tananaeva year ago

Don't know, but I'm sure it accepts text.

Amirosa year ago
Anton Tananaeva year ago

Looks correct.

Amirosa year ago

body of send command API:

{
    "id": 0,
    "attributes": {
        "data": "getinfo"
    },
    "deviceId": xxxx,
    "type": "custom",
    "textChannel": false,
    "description": null
}

response 200:

{
    "id": 0,
    "attributes": {
        "data": "getinfo"
    },
    "deviceId": xxxx,
    "type": "custom",
    "textChannel": false,
    "description": null
}
Joysticka year ago
Amirosa year ago

Joystick Thanks a lot