cat019.h
Go to the documentation of this file.
1/*
2 * $COPYRIGHT-BEGIN$
3 * libasterix
4 * Copyright [2013-2026] SinoATC <http://www.sinoatc.com>.
5 * All Rights Reserved.
6 *
7 * NOTICE: All information contained herein is, and remains
8 * the property of SinoATC and its suppliers, if any.
9 * The intellectual and technical concepts contained herein
10 * are proprietary to SinoATC and its suppliers and may be
11 * covered by U.S. and Foreign Patents, patents in process,
12 * and are protected by trade secret or copyright law.
13 * Dissemination of this information or reproduction of this material
14 * is strictly forbidden unless prior written permission is obtained
15 * from SinoATC.
16 * $COPYRIGHT-END$
17 */
18
31
32#ifndef LIBASTERIX_CAT019_H
33#define LIBASTERIX_CAT019_H
34
35#include "dataitem.h"
36#include "cat_generic.h"
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
71
74
82
90
93
95#define ast_dataitem_019_000_get_size ast_dataitem_message_type_get_size
96
98#define ast_dataitem_019_000_decode ast_dataitem_message_type_decode
99
101#define ast_dataitem_019_000_encode ast_dataitem_message_type_encode
102
104AST_API void ast_dataitem_019_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
105
107#define ast_dataitem_019_000_get_detail_html ast_dataitem_get_detail_html_dummy
108 /* end of group di_019_000 */
110
111
119
122
124#define ast_dataitem_019_010_get_size ast_dataitem_data_source_identifier_get_size
125
127#define ast_dataitem_019_010_decode ast_dataitem_data_source_identifier_decode
128
130#define ast_dataitem_019_010_encode ast_dataitem_data_source_identifier_encode
131
133#define ast_dataitem_019_010_get_summary ast_dataitem_data_source_identifier_get_summary
134
136#define ast_dataitem_019_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
137 /* end of group di_019_010 */
139
140
148
151
153#define ast_dataitem_019_140_get_size ast_dataitem_time_of_day_get_size
154
156#define ast_dataitem_019_140_decode ast_dataitem_time_of_day_decode
157
159#define ast_dataitem_019_140_encode ast_dataitem_time_of_day_encode
160
162#define ast_dataitem_019_140_get_summary ast_dataitem_time_of_day_get_summary
163
165#define ast_dataitem_019_140_get_detail_html ast_dataitem_time_of_day_get_detail_html
166 /* end of group di_019_140 */
168
169
177
186
197
199#define ast_dataitem_019_550_get_size ast_dataitem_get_size_fixed_1_byte
200
203
205AST_API void ast_dataitem_019_550_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
206
208AST_API void ast_dataitem_019_550_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
209 /* end of group di_019_550 */
211
212
220
222typedef struct _ast_mlat_tp_status_t
223{
225 bool good;
227
229#define AST_MLAT_MAX_TP 4
230
232typedef struct _ast_dataitem_019_551_t
233{
234 bool valid;
235
238
240#define ast_dataitem_019_551_get_size ast_dataitem_get_size_fixed_1_byte
241
244
246AST_API void ast_dataitem_019_551_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
247
249AST_API void ast_dataitem_019_551_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
250 /* end of group di_019_551 */
252
253
261
263typedef struct _ast_mlat_rs_status_t
264{
265 int id;
269 bool good;
270 bool online;
272
274#define AST_MLAT_MAX_RS 255
275
277typedef struct _ast_dataitem_019_552_t
278{
279 bool valid;
280
284
286#define ast_dataitem_019_552_get_size ast_dataitem_get_size_rep_2_byte
287
290
292AST_API void ast_dataitem_019_552_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
293
295AST_API void ast_dataitem_019_552_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
296 /* end of group di_019_552 */
298
299
307
316
318#define AST_MLAT_MAX_RT 16
319
328
330#define ast_dataitem_019_553_get_size ast_dataitem_get_size_var_unlimited
331
334
336AST_API void ast_dataitem_019_553_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
337
339AST_API void ast_dataitem_019_553_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
340 /* end of group di_019_553 */
342
343
351
354
356#define ast_dataitem_019_600_get_size ast_dataitem_position_wgs84_get_size
357
359#define ast_dataitem_019_600_decode ast_dataitem_position_wgs84_decode
360
362#define ast_dataitem_019_600_get_summary ast_dataitem_position_wgs84_get_summary
363
365#define ast_dataitem_019_600_get_detail_html ast_dataitem_position_wgs84_get_detail_html
366 /* end of group di_019_600 */
368
369
377
379typedef struct _ast_dataitem_019_610_t
380{
381 bool valid;
382
384 double height;
386
388#define ast_dataitem_019_610_get_size ast_dataitem_get_size_fixed_2_byte
389
392
394AST_API void ast_dataitem_019_610_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
395
397AST_API void ast_dataitem_019_610_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
398 /* end of group di_019_610 */
400
401
409
411typedef struct _ast_dataitem_019_620_t
412{
413 bool valid;
414
417
419#define ast_dataitem_019_620_get_size ast_dataitem_get_size_fixed_1_byte
420
423
425AST_API void ast_dataitem_019_620_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
426
428AST_API void ast_dataitem_019_620_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
429 /* end of group di_019_620 */
431
432
440
442#define ast_dataitem_019_REF_get_size ast_dataitem_reserved_expansion_field_get_size
443
445#define ast_dataitem_019_REF_get_summary ast_dataitem_reserved_expansion_field_get_summary
446
448#define ast_dataitem_019_REF_get_detail_html ast_dataitem_reserved_expansion_field_get_detail_html
449 /* end of group di_019_REF */
451
452
460
462#define ast_dataitem_019_SPF_get_size ast_dataitem_special_purpose_field_get_size
463
465#define ast_dataitem_019_SPF_get_summary ast_dataitem_special_purpose_field_get_summary
466
468#define ast_dataitem_019_SPF_get_detail_html ast_dataitem_special_purpose_field_get_detail_html
469 /* end of group di_019_SPF */
471
472#ifdef __cplusplus
473 }
474#endif // extern "C"
475
476#endif //LIBASTERIX_CAT019_H
477
478// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
const char * ast_dataitem_019_get_name(const ast_dataitem_type_t type)
Get name function.
ASTERIX generic data items shared by multiple categories.
ASTERIX data item.
void ast_dataitem_019_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_dataitem_message_type_t ast_dataitem_019_000_t
Data Item I019/000 - Message Type.
Definition cat019.h:92
ast_mlat_status_message_type_t
MLAT status message type.
Definition cat019.h:85
@ AST_MLAT_MESSAGE_EVENT_STATUS
Definition cat019.h:88
@ AST_MLAT_MESSAGE_CYCLE_START
Definition cat019.h:86
@ AST_MLAT_MESSAGE_PERIODIC_STATUS
Definition cat019.h:87
ast_dataitem_data_source_identifier_t ast_dataitem_019_010_t
Data Item I019/010 - Data Source Identifier.
Definition cat019.h:121
ast_dataitem_time_of_day_t ast_dataitem_019_140_t
Data Item I019/140 - Time of Day.
Definition cat019.h:150
ast_dataitem_019_550_t ast_dataitem_019_550_decode(const ast_dataitem_t di)
Decode function.
ast_mlat_system_status_t
MLAT system status type.
Definition cat019.h:180
void ast_dataitem_019_550_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_019_550_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
@ AST_MLAT_SYS_STATUS_NOGO
Definition cat019.h:183
@ AST_MLAT_SYS_STATUS_OPERATIONAL
Definition cat019.h:181
@ AST_MLAT_SYS_STATUS_DEGRADED
Definition cat019.h:182
@ AST_MLAT_SYS_STATUS_UNDIFINED
Definition cat019.h:184
#define AST_MLAT_MAX_TP
Max MLAT tracking processors.
Definition cat019.h:229
void ast_dataitem_019_551_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_019_551_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_019_551_t ast_dataitem_019_551_decode(const ast_dataitem_t di)
Decode function.
#define AST_MLAT_MAX_RS
Max MLAT remote sensors.
Definition cat019.h:274
void ast_dataitem_019_552_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_019_552_t ast_dataitem_019_552_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_019_552_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_019_553_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_019_553_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_019_553_t ast_dataitem_019_553_decode(const ast_dataitem_t di)
Decode function.
#define AST_MLAT_MAX_RT
Max MLAT reference transponders.
Definition cat019.h:318
ast_mlat_ref_transponder_status_t
MLAT reference transponder status.
Definition cat019.h:310
@ AST_MLAT_REF_TRANSPONDER_UNDEFINED
Definition cat019.h:311
@ AST_MLAT_REF_TRANSPONDER_GOOD
Definition cat019.h:312
@ AST_MLAT_REF_TRANSPONDER_FAULTED
Definition cat019.h:313
@ AST_MLAT_REF_TRANSPONDER_WARNING
Definition cat019.h:314
ast_dataitem_position_wgs84_t ast_dataitem_019_600_t
Data Item I019/600 - Position of MLT System Reference Point.
Definition cat019.h:353
void ast_dataitem_019_610_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_dataitem_019_610_t ast_dataitem_019_610_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_019_610_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_019_620_t ast_dataitem_019_620_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_019_620_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_019_620_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_type_t
Definition of data item type in each category.
Definition dataitem.h:86
#define AST_API
Definition platform.h:63
Data Item I019/550 - System Status.
Definition cat019.h:189
bool test_target_failure
Definition cat019.h:195
ast_mlat_system_status_t sys_status
Definition cat019.h:192
bool time_source_invalid
Definition cat019.h:194
bool valid
Definition cat019.h:190
bool overload
Definition cat019.h:193
Data Item I019/551 - Tracking Processor Detailed Status.
Definition cat019.h:233
ast_mlat_tp_status_t tp_status[4]
Definition cat019.h:236
bool valid
Definition cat019.h:234
Data Item I019/552 - Remote Sensor Detailed Status.
Definition cat019.h:278
bool valid
Definition cat019.h:279
size_t n_remote_sensors
Definition cat019.h:282
ast_mlat_rs_status_t rs_status[255]
Definition cat019.h:281
Data Item I019/553 - Reference Transponder Detailed Status.
Definition cat019.h:322
size_t n_ref_transponders
Definition cat019.h:326
ast_mlat_ref_transponder_status_t rt_status[16]
Definition cat019.h:325
bool valid
Definition cat019.h:323
Data Item I019/610 - Height of MLT System Reference Point.
Definition cat019.h:380
int raw_height
Definition cat019.h:383
double height
Raw height, LSB=0.25m.
Definition cat019.h:384
bool valid
Definition cat019.h:381
Data Item I019/620 - WGS-84 Undulation.
Definition cat019.h:412
int undulation
Definition cat019.h:415
bool valid
Definition cat019.h:413
Data Item - Data Source Identifier.
Definition cat_generic.h:133
Data Item - Message Type.
Definition cat_generic.h:80
Data Item - Position in WGS84 Coordinates.
Definition cat_generic.h:462
Dataitem.
Definition dataitem.h:515
Data Item - Time of Day.
Definition cat_generic.h:282
MLAT remote sensor status.
Definition cat019.h:264
int id
Definition cat019.h:265
bool online
true - good; false - faulted
Definition cat019.h:270
bool tx_1030
Definition cat019.h:267
bool tx_1090
Definition cat019.h:268
bool rx_1090
Definition cat019.h:266
bool good
Definition cat019.h:269
MLAT tracking processor status.
Definition cat019.h:223
bool executive
Definition cat019.h:224
bool good
true - executive; false - standby
Definition cat019.h:225