Jump to content

List of Parameters

From Transight Wiki
Revision as of 08:37, 17 June 2025 by Editor (talk | contribs)

Binary Protocol Overview

This is a custom binary protocol designed for communication between device and a server. It is used in scenarios like vehicle tracking, remote diagnostics, OTA (Over-The-Air) updates, and device configuration. Each packet is structured with a defined header, payload, and checksum for integrity. The payload structure varies based on packet type and purpose.

Advantages of Binary Protocol

  • Compact (saves bandwidth)
  • Faster to transmit and parse
  • Suitable for constrained environments** like cellular networks (2G/4G)

Comparison with Text Protocol

  • No delimiters like commas, newlines, or JSON/XML formatting
  • Cannot be inspected or parsed in a terminal without a decoder

Packet Sending Modes

Packet sending modes are based on the device data update rate source selected. The update rate is speed-based.

The device can be in any of the following modes:

Motion Mode (M)

If the speed of the vehicle is greater than 3 kmph, then the vehicle is in **motion mode**.

Halt Mode (H)

If the speed is less than 3 kmph and the duration in this condition is greater than CUHT, the vehicle enters halt mode.

Sleep Mode (S)

If the vehicle remains in halt mode and the duration exceeds CUST, it enters sleep mode.

Types of Packets & Packet Structure