cat065.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_CAT065_H
33#define LIBASTERIX_CAT065_H
34
35#include "dataitem.h"
36#include "datarecord.h"
37#include "cat_generic.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
66
67//Data Item
68
71
72
80
88
91
93#define ast_dataitem_065_000_get_size ast_dataitem_message_type_get_size
94
96#define ast_dataitem_065_000_decode ast_dataitem_message_type_decode
97
99#define ast_dataitem_065_000_encode ast_dataitem_message_type_encode
100
102AST_API void ast_dataitem_065_000_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
103
105#define ast_dataitem_065_000_get_detail_html ast_dataitem_get_detail_html_dummy
106 /* end of group di_065_000 */
108
109
117
120
122#define ast_dataitem_065_010_get_size ast_dataitem_data_source_identifier_get_size
123
125#define ast_dataitem_065_010_decode ast_dataitem_data_source_identifier_decode
126
128#define ast_dataitem_065_010_encode ast_dataitem_data_source_identifier_encode
129
131#define ast_dataitem_065_010_get_summary ast_dataitem_data_source_identifier_get_summary
132
134#define ast_dataitem_065_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html
135 /* end of group di_065_010 */
137
138
146
149
151#define ast_dataitem_065_015_get_size ast_dataitem_service_id_get_size
152
154#define ast_dataitem_065_015_decode ast_dataitem_service_id_decode
155
157#define ast_dataitem_065_015_encode ast_dataitem_service_id_encode
158
160#define ast_dataitem_065_015_get_summary ast_dataitem_service_id_get_summary
161
163#define ast_dataitem_065_015_get_detail_html ast_dataitem_service_id_get_detail_html
164 /* end of group di_065_015 */
166
167
175
177typedef struct _ast_dataitem_065_020_t
178{
179 bool valid;
180
181 unsigned int batch_number;
183
185#define ast_dataitem_065_020_get_size ast_dataitem_get_size_fixed_1_byte
186
189
191AST_API void ast_dataitem_065_020_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
192
194#define ast_dataitem_065_020_get_detail_html ast_dataitem_get_detail_html_dummy
195 /* end of group di_065_020 */
197
198
206
209
211#define ast_dataitem_065_030_get_size ast_dataitem_time_of_day_get_size
212
214#define ast_dataitem_065_030_decode ast_dataitem_time_of_day_decode
215
217#define ast_dataitem_065_030_encode ast_dataitem_time_of_day_encode
218
220#define ast_dataitem_065_030_get_summary ast_dataitem_time_of_day_get_summary
221
223#define ast_dataitem_065_030_get_detail_html ast_dataitem_time_of_day_get_detail_html
224 /* end of group di_065_030 */
226
227
235
244
246typedef struct _ast_dataitem_065_040_t
247{
248 bool valid;
249
253 unsigned int processing_system;
255
257#define ast_dataitem_065_040_get_size ast_dataitem_get_size_fixed_1_byte
258
261
263AST_API void ast_dataitem_065_040_get_summary(char* summary, const size_t summary_size, const ast_dataitem_t di);
264
266void ast_dataitem_065_040_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di);
267 /* end of group di_065_040 */
269
270
277
279#define ast_dataitem_065_REF_get_size ast_dataitem_reserved_expansion_field_get_size
280
282#define ast_dataitem_065_REF_get_summary ast_dataitem_reserved_expansion_field_get_summary
283
285#define ast_dataitem_065_REF_get_detail_html ast_dataitem_reserved_expansion_field_get_detail_html
286 /* end of group di_065_REF */
288
289
296
298#define ast_dataitem_065_SPF_get_size ast_dataitem_special_purpose_field_get_size
299
301#define ast_dataitem_065_SPF_get_summary ast_dataitem_special_purpose_field_get_summary
302
304#define ast_dataitem_065_SPF_get_detail_html ast_dataitem_special_purpose_field_get_detail_html
305 /* end of group di_065_SPF */
307
308
309//Data Record
310
318
331
334
335// Assemble function
336//AST_API ast_datarecord_t ast_datarecord_065_assemble(unsigned char* const buffer, const size_t bufsize, const ast_datarecord_065_t dr, const ast_uap_t uap);
337 /* end of group dr_065 */
339
340#ifdef __cplusplus
341 }
342#endif // extern "C"
343
344#endif //LIBASTERIX_CAT065_H
345
346// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
const char * ast_dataitem_065_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_065_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_sdps_message_type_t
SDPS message type.
Definition cat065.h:83
ast_dataitem_message_type_t ast_dataitem_065_000_t
Data Item I065/000 - Message Type.
Definition cat065.h:90
@ SDPS_MESSAGE_SERVICE_STATUS_REPORT
Definition cat065.h:86
@ SDPS_MESSAGE_END_OF_BATCH
Definition cat065.h:85
@ SDPS_MESSAGE_STATUS
Definition cat065.h:84
ast_dataitem_data_source_identifier_t ast_dataitem_065_010_t
Data Item I065/010 - Data Source Identifier.
Definition cat065.h:119
ast_dataitem_service_id_t ast_dataitem_065_015_t
Data Item I065/015 - Service Identification.
Definition cat065.h:148
void ast_dataitem_065_020_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_dataitem_065_020_t ast_dataitem_065_020_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_time_of_day_t ast_dataitem_065_030_t
Data Item I065/030 - Time of Message.
Definition cat065.h:208
void ast_dataitem_065_040_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
void ast_dataitem_065_040_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_sdps_status_t
SDPS status.
Definition cat065.h:238
ast_dataitem_065_040_t ast_dataitem_065_040_decode(const ast_dataitem_t di)
Decode function.
@ AST_SDPS_STATUS_DISCONNECTED
Definition cat065.h:241
@ AST_SDPS_STATUS_OPERATIONAL
Definition cat065.h:239
@ AST_SDPS_STATUS_DEGRADED
Definition cat065.h:240
@ AST_SDPS_STATUS_UNKNOWN
Definition cat065.h:242
ast_dataitem_type_t
Definition of data item type in each category.
Definition dataitem.h:86
ast_datarecord_065_t ast_datarecord_065_disassemble(const ast_datarecord_t dr)
Disassemble function.
#define AST_API
Definition platform.h:63
Data Item I065/020 - Batch Number.
Definition cat065.h:178
unsigned int batch_number
Definition cat065.h:181
bool valid
Definition cat065.h:179
Data Item I065/040 - SDPS Configuration and Status.
Definition cat065.h:247
bool overload
Definition cat065.h:251
ast_sdps_status_t status
Definition cat065.h:250
bool invalid_timesource
Definition cat065.h:252
unsigned int processing_system
0 for N/A, and 1-3 for SDPS number
Definition cat065.h:253
bool valid
Definition cat065.h:248
Data Item - Data Source Identifier.
Definition cat_generic.h:133
Data Item - Message Type.
Definition cat_generic.h:80
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 I065 - SDPS Service Status Messages.
Definition cat065.h:321
ast_dataitem_065_010_t dataitem_065_010
Definition cat065.h:325
ast_dataitem_065_040_t dataitem_065_040
Definition cat065.h:329
ast_dataitem_065_015_t dataitem_065_015
Definition cat065.h:326
ast_dataitem_065_020_t dataitem_065_020
Definition cat065.h:327
ast_dataitem_065_000_t dataitem_065_000
Definition cat065.h:324
bool valid
Definition cat065.h:322
ast_dataitem_065_030_t dataitem_065_030
Definition cat065.h:328
Datarecord.
Definition datarecord.h:61