Commands using Traccar and FCT927

renatosousa.raceland 25 days ago

Hello.

I've tried to use the FTC927 with Traccar, and everything surrounding positioning, reports and configurations seem to work fine. However, the command list has been returning the same "Unknown Command!" for every singe command sent, which I would guess has to do with lack of compatibility with the FTC platform. Are there any pointers for using commands with FTC devices?

Anton Tananaev 25 days ago

Which commands did you send and how?

renatosousa.raceland 25 days ago

I have sent some of the basic commands. getgps, web_connect, getio, etc, and tried multiple formats in regards to content:

<command> <space><command> <space><space><command> (these two used to accommodate possibly for the need to send over credentials, which are configured for commands via SMS in the device configuration) <password><command> <user><password><command>

All of these returned the message "Unknown Command!", with synched time and location. As for SMS commands, all is working fine. Previously I used FMC920 devices and the format <command> works without issue, thus I assume there is some kind of incompatibility with the formatting of the commands, or some factor I'm unaware of

Anton Tananaev 25 days ago

Have you checked with Teltonika? You can send them the sample from logs.

renatosousa.raceland 25 days ago

I have contacted them, and am waiting for a meeting regarding technical issues, however they pointed me to check with the developers if there was any issue with support for FTC. After all, there are no FTC devices listed in the "Supported Devices" list, however the device works in tracking and almost every other metric except for commands, which is unexpected considering the circumstances

Anton Tananaev 25 days ago

Teltonika protocol is standard, as far as I know. So it should work, unless they decided to do different format for commands for some reason.

renatosousa.raceland 25 days ago

Somehow that may be the case, in one way or another. I have tested those FTC927 devices with an older firmware version, and a more recent version. The recent one seems to not be too compatible with traccar, as the device stopped updating position and not show properties like ignition. Older version seemingly works fine in those aspects, but fails in commands

Anton Tananaev 25 days ago

Logs?

renatosousa.raceland 25 days ago

Collected and sent over for analysis. Tracking returned to function in the meantime, we're back at the point where only commands are the problem. It was solved by higher voltages simulating ignition

Anton Tananaev 25 days ago

Sent where?

Vinod 25 days ago

FMB and FMC platform devices expect username and password before command. If not set then 2 spaces before the command. FT platform devices expect only password before command. If not set then single space before the command. Does Traccar add spaces before encoding the Teltonika commands?

Anton Tananaev 25 days ago

Traccar doesn't, but the person already tried with spaces.

Vinod 25 days ago

Does Traccar trim the commands before encoding or before sending to encoding

Anton Tananaev 25 days ago

It should not.

Vinod 25 days ago

I am not sure if it makes a difference. I am using traccar version 4.6. As confirmed by you, all commands over web/TCP are sent without space for username/password and teltonika trackers accepts it. For FTC devices if i send "getgps" without any leading or trailing space i get Unknown Command response from the device. But if i send "getgps " with a trailing space then the device accepts and provides proper response. OP may have the same issue and can try commands with a trailing space or the firmware version of the device doesn't support the commands as FT is a new platform and some initial firmware versions had very limited set of commands.