How to Send Commands to FMB001 via TCP (GPRS)?

Hi everyone,

I’m currently working with a Teltonika FMB001 device and I’m looking to understand how to send commands to it over TCP, not via SMS or Bluetooth. My goal is to remotely configure the device (e.g., send setparam commands) via a custom TCP server.

So far, I know that the FMB001 uses a binary protocol (Codec 8 or 8 Extended) for communication. I’ve already set up the server IP/domain and port on the device, and I’m able to receive data packets just fine.

But I’m stuck on the reverse direction — sending commands from the server to the FMB001.

Could someone please clarify:

  1. What is the correct structure to send commands like setparam or getparam via TCP?
  2. Is there an official example of how to construct the binary payload (length, command, CRC, etc.)?

Hi

Yes, the Teltonika FMB001 supports remote configuration over GPRS using Teltonika’s binary protocol, specifically Codec 12.

Since your device is already sending data to your custom TCP server (using Codec 8), you can also send commands such as setparam or getparam back to the device through the same TCP connection.

Please note that these commands must be sent in the Codec 12 binary format, which includes:

  • Codec ID (1 byte): 0C
  • Command Type (1 byte): 05 (for sending a command)
  • Command Length (2 bytes): Length of the ASCII command
  • ASCII Command: e.g., setparam 2001:1
  • CRC16 (X25): Checksum calculated from Codec ID to end of command

You can refer to the following official Teltonika documentation for more details:

Best regards,
Amalnath

1 Like