X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2Ftelemetry.xsl;h=e410150742b5caf9d6935e8b17de69885a3b2bfc;hp=a0b9f6e77d8b5accb4bbed9e45543de1f8fc39b5;hb=7acd0cf17c5ca7a00893f35c7fe9c657389070e0;hpb=a08173197d5533ecb395102ed34e751135660d06 diff --git a/doc/telemetry.xsl b/doc/telemetry.xsl index a0b9f6e7..e4101507 100644 --- a/doc/telemetry.xsl +++ b/doc/telemetry.xsl @@ -1,5 +1,5 @@ -
@@ -57,8 +57,10 @@
Packet Formats - This section first defines the packet header common to all packets - and then the per-packet data layout. + + This section first defines the packet header common to all packets + and then the per-packet data layout. +
Packet Header @@ -268,10 +270,15 @@ 9uint8_tconfig_minorConfig minor version - 10uint16_tmain_deployMain deploy alt in meters + 10uint16_tapogee_delay + Apogee deploy delay in seconds + + + 12uint16_tmain_deployMain deploy alt in meters - 12uint32_tflight_log_maxMaximum flight log size (B) + 14uint16_tflight_log_max + Maximum flight log size (kB) 16charcallsign[8]Radio operator identifier @@ -379,10 +386,13 @@ 26uint16_tground_speedcm/s - 28uint8_tcourse/ 2 + 28int16_tclimb_ratecm/s - 29uint8_tunused[3] + 30uint8_tcourse/ 2 + + + 31uint8_tunused[1] 32 @@ -613,9 +623,10 @@ resulting in the following signal parmeters:
+ Modulation Scheme - + @@ -655,14 +666,15 @@
+ Error Correction The cc1111 provides forward error correction in hardware, which AltOS uses to improve reception of weak signals. The overall effect of this is to halve the available bandwidth for data from 38 kBaud to 19 kBaud. - Error Correction + Error Correction @@ -677,8 +689,8 @@ Error Correction - Convolutional coding FEC - 1/2 code, constraint length m=4 + Convolutional coding + 1/2 rate, constraint length m=4 Interleaving @@ -696,6 +708,75 @@
+
+ TeleDongle packet format + + TeleDongle does not do any interpretation of the packet data, + instead it is configured to receive packets of a specified + length (32 bytes in this case). For each received packet, + TeleDongle produces a single line of text. This line starts with + the string "TELEM " and is followed by a list of hexadecimal + encoded bytes. + + TELEM 224f01080b05765e00701f1a1bbeb8d7b60b070605140c000600000000000000003fa988 + + The hexadecimal encoded string of bytes contains a length byte, + the packet data, two bytes added by the cc1111 radio receiver + hardware and finally a checksum so that the host software can + validate that the line was transmitted without any errors. + + + Packet Format + + + + + + + + Offset + Name + Example + Description + + + + + 0 + length + 22 + Total length of data bytes in the line. Note that + this includes the added RSSI and status bytes + + + 1 ·· length-3 + packet + 4f ·· 00 + Bytes of actual packet data + + + length-2 + rssi + 3f + Received signal strength. dBm = rssi / 2 - 74 + + + length-1 + lqi + a9 + Link Quality Indicator and CRC status. Bit 7 + is set when the CRC is correct + + + length + checksum + 88 + (0x5a + sum(bytes 1 ·· length-1)) % 256 + + + +
+
History and Motivation