cat063.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_CAT063_H
33#define LIBASTERIX_CAT063_H
34
35#include "dataitem.h"
36#include "datarecord.h"
37#include "cat_generic.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
70
71//Data Item
72
79
96
99
101#define ast_dataitem_063_010_get_size ast_dataitem_data_source_identifier_get_size
102
104#define ast_dataitem_063_010_decode ast_dataitem_data_source_identifier_decode
105
107#define ast_dataitem_063_010_encode ast_dataitem_data_source_identifier_encode
108
110#define ast_dataitem_063_010_get_summary ast_dataitem_data_source_identifier_get_summary
111
113#define ast_dataitem_063_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
114 /* end of group di_063_010 */
116
117
134
137
139#define ast_dataitem_063_015_get_size ast_dataitem_service_id_get_size
140
142#define ast_dataitem_063_015_decode ast_dataitem_service_id_decode
143
145#define ast_dataitem_063_015_encode ast_dataitem_service_id_encode
146
148#define ast_dataitem_063_015_get_summary ast_dataitem_service_id_get_summary
149
151#define ast_dataitem_063_015_get_detail_html ast_dataitem_service_id_get_detail_html
152 /* end of group di_063_015 */
154
155
173
176
178#define ast_dataitem_063_030_get_size ast_dataitem_time_of_day_get_size
179
181#define ast_dataitem_063_030_decode ast_dataitem_time_of_day_decode
182
184#define ast_dataitem_063_030_encode ast_dataitem_time_of_day_encode
185
187#define ast_dataitem_063_030_get_summary ast_dataitem_time_of_day_get_summary
188
190#define ast_dataitem_063_030_get_detail_html ast_dataitem_time_of_day_get_detail_html
191 /* end of group di_063_030 */
193
194
210
213
215#define ast_dataitem_063_050_get_size ast_dataitem_data_source_identifier_get_size
216
218#define ast_dataitem_063_050_decode ast_dataitem_data_source_identifier_decode
219
221#define ast_dataitem_063_050_encode ast_dataitem_data_source_identifier_encode
222
224#define ast_dataitem_063_050_get_summary ast_dataitem_data_source_identifier_get_summary
225
227#define ast_dataitem_063_050_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
228 /* end of group di_063_050 */
230
231
249
258
277
279#define ast_dataitem_063_060_get_size ast_dataitem_get_size_var_2_byte
280
287
294AST_API void ast_dataitem_063_060_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
295
302void ast_dataitem_063_060_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
303 /* end of group di_063_060 */
305
306
320
322
323 /* end of group di_063_070 */
325
326
337
339
340 /* end of group di_063_080 */
342
343
357
359
360 /* end of group di_063_081 */
362
363
374
376
377 /* end of group di_063_090 */
379
380
394
396
397 /* end of group di_063_091 */
399
400
407
409#define ast_dataitem_063_REF_get_size ast_dataitem_reserved_expansion_field_get_size
410
412#define ast_dataitem_063_REF_get_summary ast_dataitem_reserved_expansion_field_get_summary
413
415#define ast_dataitem_063_REF_get_detail_html ast_dataitem_reserved_expansion_field_get_detail_html
416 /* end of group di_063_REF */
418
419
426
428#define ast_dataitem_063_SPF_get_size ast_dataitem_special_purpose_field_get_size
429
431#define ast_dataitem_063_SPF_get_summary ast_dataitem_special_purpose_field_get_summary
432
434#define ast_dataitem_063_SPF_get_detail_html ast_dataitem_special_purpose_field_get_detail_html
435 /* end of group di_063_SPF */
437
438
439//Data Record
440
456
468
478
489//AST_API ast_datarecord_t ast_datarecord_063_assemble(unsigned char* const buffer, const size_t bufsize, const ast_datarecord_063_t dr, const ast_uap_t uap);
490 /* end of group dr_063 */
492
493#ifdef __cplusplus
494 }
495#endif // extern "C"
496
497#endif //LIBASTERIX_CAT063_H
498
499// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
const char * ast_dataitem_063_get_name(const ast_dataitem_type_t type)
Get the name of a CAT063 data item.
ASTERIX generic data items shared by multiple categories.
ASTERIX data item.
ASTERIX data record.
ast_dataitem_data_source_identifier_t ast_dataitem_063_010_t
Data Item I063/010 - Data Source Identifier.
Definition cat063.h:98
ast_dataitem_service_id_t ast_dataitem_063_015_t
Data Item I063/015 - Service Identification.
Definition cat063.h:136
ast_dataitem_time_of_day_t ast_dataitem_063_030_t
Data Item I063/030 - Time of Message.
Definition cat063.h:175
ast_dataitem_data_source_identifier_t ast_dataitem_063_050_t
Data Item I063/050 - Sensor Identifier.
Definition cat063.h:212
ast_sensor_config_t
Sensor configuration status codes.
Definition cat063.h:252
void ast_dataitem_063_060_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get a detailed HTML representation of Data Item I063/060.
void ast_dataitem_063_060_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get a text summary of Data Item I063/060.
ast_dataitem_063_060_t ast_dataitem_063_060_decode(const ast_dataitem_t di)
Decode Data Item I063/060 from raw bytes.
@ AST_SENSOR_CONFIG_OPERATIONAL
Sensor is fully operational.
Definition cat063.h:253
@ AST_SENSOR_CONFIG_DEGRADED
Sensor is operating in degraded mode.
Definition cat063.h:254
@ AST_SENSOR_CONFIG_INIT
Sensor is in initialization state.
Definition cat063.h:255
@ AST_SENSOR_CONFIG_DISCONNECTED
Sensor is disconnected.
Definition cat063.h:256
ast_dataitem_type_t
Definition of data item type in each category.
Definition dataitem.h:86
ast_datarecord_063_t ast_datarecord_063_disassemble(const ast_datarecord_t dr)
Disassemble a raw data record into CAT063 structured format.
#define AST_API
Definition platform.h:63
Data Item I063/060 - Sensor Configuration and Status.
Definition cat063.h:261
bool valid
Data item validity flag.
Definition cat063.h:262
bool operational_inhibited
Operational inhibition flag.
Definition cat063.h:270
bool military_nogo
Military radar NO-GO status (true = NO-GO).
Definition cat063.h:269
ast_sensor_config_t config
Sensor configuration status.
Definition cat063.h:264
bool transmission_overload
Transmission overload warning.
Definition cat063.h:272
bool modes_nogo
Mode S NO-GO status (true = NO-GO).
Definition cat063.h:267
bool monitoring_disconnected
Monitoring system disconnected.
Definition cat063.h:273
bool processor_overload
Processor overload warning.
Definition cat063.h:271
bool ads_nogo
ADS-B NO-GO status (true = NO-GO).
Definition cat063.h:268
bool psr_nogo
PSR NO-GO status (true = NO-GO).
Definition cat063.h:265
bool timesource_invalid
Time source invalid flag.
Definition cat063.h:274
bool no_plots_warining
No plots detected warning.
Definition cat063.h:275
bool ssr_nogo
SSR NO-GO status (true = NO-GO).
Definition cat063.h:266
Data Item - Data Source Identifier.
Definition cat_generic.h:133
Data Item - Service Identification.
Definition cat_generic.h:179
Dataitem.
Definition dataitem.h:515
Data Item - Time of Day.
Definition cat_generic.h:282
Data Record I063 - Sensor Status Reports.
Definition cat063.h:459
ast_dataitem_063_050_t dataitem_063_050
Sensor Identifier (I063/050).
Definition cat063.h:465
bool valid
Data record validity flag.
Definition cat063.h:460
ast_dataitem_063_060_t dataitem_063_060
Sensor Configuration and Status (I063/060).
Definition cat063.h:466
ast_dataitem_063_010_t dataitem_063_010
Data Source Identifier (I063/010).
Definition cat063.h:462
ast_dataitem_063_030_t dataitem_063_030
Time of Message (I063/030).
Definition cat063.h:464
ast_dataitem_063_015_t dataitem_063_015
Service Identification (I063/015).
Definition cat063.h:463
Datarecord.
Definition datarecord.h:61