Rev 436 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 436 | Rev 671 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | 77 | ||
Line 78... | Line 78... | ||
78 | FTP_direntry_t FTP_direntry; |
78 | FTP_direntry_t FTP_direntry; |
Line 79... | Line 79... | ||
79 | 79 | ||
80 | char FTP_data[DATA_TRANSFER_SIZE+10]; // rx & tx buffer to avoid 2 buffers |
80 | char FTP_data[DATA_TRANSFER_SIZE+10]; // rx & tx buffer to avoid 2 buffers |
81 | 81 | ||
82 | #define KEYWORD_COUNT 47 |
82 | #define KEYWORD_COUNT 52 |
83 | // most used gpx tags can be compressed |
83 | // most used gpx tags can be compressed |
84 | const char keyword[KEYWORD_COUNT][16]= |
84 | const char keyword[KEYWORD_COUNT][16]= |
Line 120... | Line 120... | ||
120 | "BL_MaxPWM>\0 \0", |
120 | "BL_MaxPWM>\0 \0", |
121 | "MikroKopter\0 \0", |
121 | "MikroKopter\0 \0", |
122 | "nter>000</\0 \0", |
122 | "nter>000</\0 \0", |
123 | "metadata>\0 \0", |
123 | "metadata>\0 \0", |
124 | "Speak>\0 \0", |
124 | "Speak>\0 \0", |
- | 125 | "MotorNOK>\0 \0", |
|
- | 126 | "Gas>\0 \0", |
|
- | 127 | "ShutterCnt>\0 \0", |
|
- | 128 | "ele_raw>\0 \0", |
|
- | 129 | "GPSInfo>\0 \0", |
|
125 | "<WP>----,0,0,0<\0", |
130 | "<WP>----,0,0,0<\0", |
126 | "MagnetInclinati\0", |
131 | "MagnetInclinati\0", |
127 | "BL_Temperature>\0", |
132 | "BL_Temperature>\0", |
128 | "AvaiableMotorPo\0", |
133 | "AvaiableMotorPo\0", |
129 | "FC_I2C_ErrorCou\0", |
134 | "FC_I2C_ErrorCou\0", |
130 | "FC_SPI_ErrorCou\0", |
135 | "FC_SPI_ErrorCou\0", |
131 | "TargetDistance>\0" }; |
136 | "TargetDistance>\0" |
- | 137 | }; |
|
- | 138 | //ACHTUNG: ggf. DATA_TRANSFER_SIZE vergrössern |
|
Line 132... | Line 139... | ||
132 | 139 | ||
133 | u16 CompressBuffer(char *buf, u16 size, u16 offset) |
140 | u16 CompressBuffer(char *buf, u16 size, u16 offset) |
Line 134... | Line 141... | ||
134 | { |
141 | { |