RS-tracker/c34/c34.txt

55 wiersze
1.4 KiB
Plaintext
Czysty Zwykły widok Historia

2015-06-17 06:49:52 +00:00
Modulation AFSK 2400 baud
2015-11-29 23:15:23 +00:00
3000 Hz : bit 1
4800 Hz : bit 0
2015-06-17 06:49:52 +00:00
bits : little endian -> byte
bytes: big endian -> int-value
2017-01-31 12:35:15 +00:00
bytes getrennt durch 4 bit 1110:
8N1: 0 bbbbbbbb 1(11)0 bb... , (11)-idle
2015-06-17 06:49:52 +00:00
Datenpaket besteht aus 8 byte:
header 2 byte 00FF
2015-06-17 08:05:24 +00:00
pck_id 1 byte N
2015-06-17 06:49:52 +00:00
data 4 byte val (big endian)
2016-03-03 15:53:46 +00:00
chksum 2 byte Fletcher16 (hier: byte2 1's-complement am Ende)
2015-06-17 06:49:52 +00:00
2015-06-17 08:05:24 +00:00
Telemetrie pck_id N:
2015-06-17 06:49:52 +00:00
0x14: date: 0x00027173 = 160115 -> 2015-01-16
0x15: time: 0x0001E73F = 124735 -> 12:47:35
0x16: lat : 0x02D39C9B = 47422619 -> 47+422619/600000=47.704365°
0x17: lon : 0x006CB603 = 7124483 -> 7+124483/600000=7.2074717°
0x18: alt : 0x0004AB21 = 305953 -> 305953/10 = 30595.3m
2016-03-03 13:47:11 +00:00
2015-06-17 06:49:52 +00:00
GPS-lat/lon wie NMEA mit Faktor 1e4
2016-03-03 13:47:11 +00:00
Checksum:
2016-03-03 15:53:46 +00:00
2 byte, Summe ueber byte[0]=pck_id,byte[1]=data[0],...,byte[4]=data[3]
2016-03-03 13:47:11 +00:00
byte1: (sum_i byte[i]) & 0xFF
byte2: (-1 - sum_i byte[i]*(5-i)) & 0xFF = ~(sum_i byte[i]*(5-i)) & 0xFF
FrameID 0x15 (time):
00FF 15 0001E5FE F9CB
00FF 15 0001E5FF FACA <- vorletztes byte +1
00FF 15 0001E600 FCC7 -> byte2: -1-2*1 Differenz
00FF 15 0001E601 FDC6
00FF 15 0001E602 FEC5
00FF 15 0001E603 FFC4
00FF 15 0001E604 00C3
00FF 15 0001E605 01C2
00FF 15 0001E606 02C1
2016-03-03 15:53:46 +00:00
-> Fletcher16:
5*byte[0]+4*byte[1]+3*byte[2]+2*byte[3]+1*byte[4]
= byte[0] + (byte[0]+byte[1]) + (byte[0]+byte[1]+byte[2]) + (byte[0]+byte[1]+byte[2]+byte[3]) + (byte[0]+byte[1]+byte[2]+byte[3]+byte[4])
2016-03-03 13:47:11 +00:00
PTU-Data: float32?