Line endings and byte count clarification.

This commit is contained in:
Ian Gulliver
2016-02-27 22:50:56 -08:00
parent b183cd9904
commit 0e35f24476
2 changed files with 5 additions and 4 deletions

View File

@@ -7,19 +7,20 @@
## Format
Textual format, similar to [raw](raw.md), but extended with MLAT and signal
level data. Unlike raw format, lines are terminated with `\r\n` (`0x0d 0x0a`).
level data.
## Frame structure
* `*` (`0x2a`)
* 7 or 14 byte frame (see [raw](raw.md))
* Uppercase hex-encoded 2, 7, or 14 byte frame (4, 14, or 28 bytes after encoding)
* `;` (`0x3b`)
* 4 byte MLAT timestamp (see below)
* `;` (`0x3b`)
* 1 byte MLAT precision (see below)
* `;` (`0x3b`)
* 2 byte big-endian [RSSI](https://en.wikipedia.org/wiki/Received_signal_strength_indication)
* `;\r\n` (`0x3b 0x0d 0x0a`)
* `;` (`0x3b`)
* `\r\n` (`0x0d 0x0a`) **OR** `\n` (`0x0a`)
## MLAT timestamp

View File

@@ -14,7 +14,7 @@ Simple textual format.
## Frame structure
* `*` (`0x2a`)
* 7 or 14 byte frame
* Uppercase hex-encoded 2, 7, or 14 byte frame (4, 14, or 28 bytes after encoding)
* `;` (`0x3b`)
* `\n` (`0x0a`) **OR** `\r\n` (`0x0d 0x0a`)