TelemetryJet is in early beta. Need help getting started, or found a bug? Open an Issue on our GitHub repository.

TJet Serial

TelemetryJet Serial Protocol

The TJet Serial protocol is a “key-length-value” protocol optimized for small transmission size. The protocol transmits data in key/value pairs, and contains error detection redundancies. TJet is an approachable protocol, and can be used to communicate with Arduino projects. The TelemetryJet Arduino SDK implements this protocol.

Packet Format

The protocol is stateless: There is no handshake or other communication required to establish a connection, and each packet exists in isolation. Each packet consists of the following data:

Start ByteValue TypeKey LengthValue LengthKeyValueChecksum
0xFF0x00 = Integer
0x01 = Float
0 - 255
Length, in bytes, of the key data.
The key string.0 - 255
Length, in bytes, of the value data.
The value data.Wrapped checksum.
0xFF - Sum of packet bytes.

Data Throughput

The key and values are both limited in length to 255 bytes. This limitation allows the length values to be stored in a single byte.

The throughput of the protocol is limited by the length of the data being sent, and the baud rate of the connection. Longer keys or values will take longer to send, and therefore be able to send less data per second.

TelemetryJet © 2020, Chris Dalke · sitemap.xml ·