cat023.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_CAT023_H
33#define LIBASTERIX_CAT023_H
34
35#include "dataitem.h"
36#include "datarecord.h"
37#include "cat_generic.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
72
73// Data Item
74
77
85
93
96
98#define ast_dataitem_023_000_get_size ast_dataitem_message_type_get_size
99
101#define ast_dataitem_023_000_decode ast_dataitem_message_type_decode
102
104AST_API void ast_dataitem_023_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
105
107#define ast_dataitem_023_000_get_detail_html ast_dataitem_get_detail_html_dummy
108 /* end of group di_023_000 */
110
111
119
122
124#define ast_dataitem_023_010_get_size ast_dataitem_data_source_identifier_get_size
125
127#define ast_dataitem_023_010_decode ast_dataitem_data_source_identifier_decode
128
130#define ast_dataitem_023_010_encode ast_dataitem_data_source_identifier_encode
131
133#define ast_dataitem_023_010_get_summary ast_dataitem_data_source_identifier_get_summary
134
136#define ast_dataitem_023_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
137 /* end of group di_023_010 */
139
140
148
163
165typedef struct _ast_dataitem_023_015_t
166{
167 bool valid;
168
169 unsigned int service_id;
172
174#define ast_dataitem_023_015_get_size ast_dataitem_get_size_fixed_1_byte
175
178
180AST_API void ast_dataitem_023_015_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
181
183AST_API void ast_dataitem_023_015_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
184 /* end of group di_023_015 */
186
187
195
198
200#define ast_dataitem_023_070_get_size ast_dataitem_time_of_day_get_size
201
203#define ast_dataitem_023_070_decode ast_dataitem_time_of_day_decode
204
206#define ast_dataitem_023_070_encode ast_dataitem_time_of_day_encode
207
209#define ast_dataitem_023_070_get_summary ast_dataitem_time_of_day_get_summary
210
212#define ast_dataitem_023_070_get_detail_html ast_dataitem_time_of_day_get_detail_html
213 /* end of group di_023_070 */
215
216
224
226typedef struct _ast_dataitem_023_100_t
227{
228 bool valid;
229
230 bool nogo;
239
241#define ast_dataitem_023_100_get_size ast_dataitem_get_size_var_2_byte
242
245
247AST_API void ast_dataitem_023_100_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
248
250AST_API void ast_dataitem_023_100_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
251 /* end of group di_023_100 */
253
261
263#define ast_dataitem_023_101_get_size ast_dataitem_get_size_var_2_byte
264 /* end of group di_023_101 */
266
274
276#define ast_dataitem_023_110_get_size ast_dataitem_get_size_var_1_byte
277 /* end of group di_023_110 */
279
287
289#define ast_dataitem_023_120_get_size ast_dataitem_get_size_rep_6_byte
290 /* end of group di_023_120 */
292
293#ifdef __cplusplus
294 }
295#endif // extern "C"
296
297#endif //LIBASTERIX_CAT023_H
298
299// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
const char * ast_dataitem_023_get_name(const ast_dataitem_type_t type)
Get name function.
ASTERIX generic data items shared by multiple categories.
ASTERIX data item.
ASTERIX data record.
void ast_dataitem_023_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_ground_station_report_type_t
Ground station report type.
Definition cat023.h:88
ast_dataitem_message_type_t ast_dataitem_023_000_t
Data Item I023/000 - Report Type.
Definition cat023.h:95
@ GROUND_STATION_STATUS
Definition cat023.h:89
@ GROUND_STATION_SERVICE_STATUS
Definition cat023.h:90
@ GROUND_STATION_SERVICE_STATISTICS
Definition cat023.h:91
ast_dataitem_data_source_identifier_t ast_dataitem_023_010_t
Data Item I023/010 - Data Source Identifier.
Definition cat023.h:121
ast_ground_station_service_type_t
Ground station service type.
Definition cat023.h:151
ast_dataitem_023_015_t ast_dataitem_023_015_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_023_015_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
void ast_dataitem_023_015_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
@ AST_GS_SVC_MLT
Definition cat023.h:161
@ AST_GS_SVC_TISB_ES
Definition cat023.h:157
@ AST_GS_SVC_ADSB_UAT
Definition cat023.h:155
@ AST_GS_SVC_GRAS_VDL4
Definition cat023.h:160
@ AST_GS_SVC_ADSB_ES
Definition cat023.h:154
@ AST_GS_SVC_TISB_UAT
Definition cat023.h:158
@ AST_GS_SVC_FISB_VDL4
Definition cat023.h:159
@ AST_GS_SVC_UNKNOWN
Definition cat023.h:152
@ AST_GS_SVC_ADSB_VDL4
Definition cat023.h:153
@ AST_GS_SVC_TISB_VDL4
Definition cat023.h:156
ast_dataitem_time_of_day_t ast_dataitem_023_070_t
Data Item I023/070 - Time of Day.
Definition cat023.h:197
ast_dataitem_023_100_t ast_dataitem_023_100_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_023_100_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
void ast_dataitem_023_100_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 I023/015 - Service Type and Identification.
Definition cat023.h:166
ast_ground_station_service_type_t service_type
Definition cat023.h:170
bool valid
Definition cat023.h:167
unsigned int service_id
Definition cat023.h:169
Data Item I023/100 - Ground Station Status.
Definition cat023.h:227
bool track_num_restarted
Definition cat023.h:236
bool xt_overload
Definition cat023.h:232
bool dp_overload
Definition cat023.h:231
int report_period
Definition cat023.h:237
bool nogo
Definition cat023.h:230
bool time_source
Definition cat023.h:234
bool valid
Definition cat023.h:228
bool spoofing_attack
Definition cat023.h:235
bool monitoring
Definition cat023.h:233
Data Item - Data Source Identifier.
Definition cat_generic.h:133
Data Item - Message Type.
Definition cat_generic.h:80
Dataitem.
Definition dataitem.h:515
Data Item - Time of Day.
Definition cat_generic.h:282