X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2Ftelemetry.xsl;h=fa66bff919bea61d80f9dc24c96a96fd9e7c2793;hp=d2b17126743457df94f5f4644db92ca5c8dfdaed;hb=963649aa064acfe75d2ff4babd9a0d35dc254e86;hpb=98df3ba984acf3b47a09949bbea0f3264f711f5b diff --git a/doc/telemetry.xsl b/doc/telemetry.xsl index d2b17126..fa66bff9 100644 --- a/doc/telemetry.xsl +++ b/doc/telemetry.xsl @@ -184,7 +184,7 @@ 16int16_tsense_mmain continuity sense (TM/Tm) - 18int16_taccelm/s² * 16 + 18int16_taccelerationm/s² * 16 20int16_tspeedm/s * 16 @@ -193,10 +193,10 @@ 22int16_theightm - 24int16_tground_accelTM + 24int16_tground_presAverage barometer reading on ground - 26int16_tground_presAverage barometer reading on ground + 26int16_tground_accelTM 28int16_taccel_plus_gTM @@ -268,10 +268,15 @@ 9uint8_tconfig_minorConfig minor version - 10uint16_tmain_deployMain deploy alt in meters + 10uint16_tapogee_delay + Apogee deploy delay in seconds - 12uint32_tflight_log_maxMaximum flight log size (B) + 12uint16_tmain_deployMain deploy alt in meters + + + 14uint16_tflight_log_max + Maximum flight log size (kB) 16charcallsign[8]Radio operator identifier @@ -379,10 +384,13 @@ 26uint16_tground_speedcm/s - 28uint8_tcourse/ 2 + 28int16_tclimb_ratecm/s - 29uint8_tunused[3] + 30uint8_tcourse/ 2 + + + 31uint8_tunused[1] 32 @@ -696,6 +704,74 @@ +
+ 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. + + + + + + + + + + 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