Hello, I encountered another problem with my Teltonika ATC700 tracker: when a setparam changes a parameter that makes the device reconnect to the server, the response to the command is usually lost.
Setup
Device: ATC700 (Hw:ATC700 Mod:21), FW 3.20.0-rc.1+7.exp.autonomous (the latest ATC700 build in the firmware changelog), modem FW EG915UEUABR03A01M08_01.215.01.215
Server: Traccar 6.16 over TCP, receiving records in Codec 8 Extended, sending commands in Codec 12
Problem
When a setparam changes for example 1000 (Open link timeout), the device logs Configuration changed, re-connecting to server and closes the TCP connection at the same time it sends the response. Most responses never reach the server, so the server can’t tell whether the command was applied. It is always applied, and the device reconnects with its next record 6–7 s later, so no records are lost.
Steps to reproduce
The device is awake (102:0) and connected. Send setparam 1000:121 and then setparam 1000:120, one at a time, 30 s apart. Whenever the new value of a connection parameter differs from the current one, the TCP connection is immediately restarted and the response often does not reach the server.
I ran an experiment comparing it with a parameter that does not affect the connection (36000, LED), both on USB power and on battery, 10 commands each:
| Command | On USB power | On battery |
|---|---|---|
setparam 36000:1 (no change) |
10/10 responses, no reconnects | 10/10 responses, no reconnects |
setparam 36000:0 / 36000:1 |
10/10 responses, no reconnects | 10/10 responses, no reconnects |
setparam 1000:121 / 1000:120 |
2/10 responses, 10 reconnects | 3/10 responses, 10 reconnects |
Logs
Server log (Traccar, times are UTC = device log − 2 h)
I decoded the corresponding lines from the Traccar log. A command whose response was lost:
19:27:44 > 00000000000000190c0105… Codec 12 command, 37 B: setparam 1000:121
19:27:45 disconnected
19:27:52 < 000f<IMEI> login (new connection)
19:27:52 > 01 IMEI ack
19:27:52 < 00000000000000528e0100… Codec 8E, 1 record, 94 B
19:27:52 > 00000001 record ack
And one where the response arrived just before the connection was closed:
19:28:44 > 00000000000000190c0105… Codec 12 command, 37 B: setparam 1000:121
19:28:45 < 000000000000001b0c0106… Codec 12 response, 39 B: New value 1000:121;
19:28:45 disconnected
19:28:52 < 000f<IMEI> login (new connection)
Device log (from the Dump, times are local CEST)
For every parameter 1000 change, AT+QISEND with the response is issued and AT+QICLOSE follows right after it on another AT channel, without waiting:
21:30:45 [M:GPRS_CMD] Unpacked data: setparam 1000:121
21:30:45 [M:RECORDS__MNG] Configuration changed, re-connecting to server (Server type[1])
21:30:45 [M:ATCMD] [1] << AT+QISEND=0,39
21:30:45 [M:ATCMD] [2] << AT+QICLOSE=0
21:30:45 [M:ATCMD] [1] >> SEND FAIL
21:30:45 [M:SOCKET] [MainSrv] Closed
Even when the modem reports SEND OK, the response often doesn’t arrive, because the socket is closed before the data is transmitted. This is the lost command from the server log above (19:27:44 UTC):
21:27:45 [M:GPRS_CMD] Unpacked data: setparam 1000:121
21:27:45 [M:RECORDS__MNG] Configuration changed, re-connecting to server (Server type[1])
21:27:45 [M:ATCMD] [1] << AT+QISEND=0,39
21:27:45 [M:ATCMD] [2] << AT+QICLOSE=0
21:27:45 [M:ATCMD] [1] >> SEND OK
21:27:45 [M:SOCKET] [MainSrv] Closed
A Dump covering both test runs (19:27–19:40 UTC on 9 Oct 2026), the configuration and the server-side log are available. I can send them privately.
Expected
The device should send the response and wait until it is delivered (or at least wait for SEND OK plus a short delay) before it closes the socket to reconnect.