24 #ifndef LIBASTERIX_CAT034_H 25 #define LIBASTERIX_CAT034_H 46 typedef enum _ast_modes_message_type_t
59 #define ast_dataitem_034_000_get_size ast_dataitem_message_type_get_size 62 #define ast_dataitem_034_000_decode ast_dataitem_message_type_decode 65 #define ast_dataitem_034_000_encode ast_dataitem_message_type_encode 71 #define ast_dataitem_034_000_get_detail_html ast_dataitem_get_detail_html_dummy 82 #define ast_dataitem_034_010_get_size ast_dataitem_data_source_identifier_get_size 83 #define ast_dataitem_034_010_decode ast_dataitem_data_source_identifier_decode 84 #define ast_dataitem_034_010_encode ast_dataitem_data_source_identifier_encode 85 #define ast_dataitem_034_010_get_summary ast_dataitem_data_source_identifier_get_summary 86 #define ast_dataitem_034_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html 100 #define ast_dataitem_034_020_get_size ast_dataitem_sector_number_get_size 103 #define ast_dataitem_034_020_decode ast_dataitem_sector_number_decode 106 #define ast_dataitem_034_020_encode ast_dataitem_sector_number_encode 109 #define ast_dataitem_034_020_get_summary ast_dataitem_sector_number_get_summary 112 #define ast_dataitem_034_020_get_detail_html ast_dataitem_sector_number_get_detail_html 123 #define ast_dataitem_034_030_get_size ast_dataitem_time_of_day_get_size 124 #define ast_dataitem_034_030_decode ast_dataitem_time_of_day_decode 125 #define ast_dataitem_034_030_encode ast_dataitem_time_of_day_encode 126 #define ast_dataitem_034_030_get_summary ast_dataitem_time_of_day_get_summary 127 #define ast_dataitem_034_030_get_detail_html ast_dataitem_time_of_day_get_detail_html 137 typedef struct _ast_dataitem_034_041_t
148 #define ast_dataitem_034_041_get_size ast_dataitem_get_size_fixed_2_byte 157 #define ast_dataitem_034_041_get_detail_html ast_dataitem_get_detail_html_dummy; 167 typedef enum _ast_ssr_channel_selection_t
176 typedef struct _ast_dataitem_034_050_t
223 #define ast_dataitem_034_050_get_summary ast_dataitem_subfields_get_summary 226 #define ast_dataitem_034_050_get_detail_html ast_dataitem_subfields_get_detail_html 251 typedef enum _ast_psr_polarization_t
257 typedef enum _ast_reduction_step_t
270 typedef struct _ast_dataitem_034_060_t
314 #define ast_dataitem_034_060_get_summary ast_dataitem_subfields_get_summary 317 #define ast_dataitem_034_060_get_detail_html ast_dataitem_subfields_get_detail_html 342 typedef enum _ast_counter_type_t
363 typedef struct _ast_counter_t
369 #define AST_MAX_COUNTERS 16 372 typedef struct _ast_dataitem_034_070_t
381 #define ast_dataitem_034_070_get_size ast_dataitem_get_size_rep_2_byte 400 #define ast_dataitem_034_090_get_size ast_dataitem_get_size_fixed_2_byte 410 #define ast_dataitem_034_110_get_size ast_dataitem_get_size_fixed_1_byte 420 #define ast_dataitem_034_120_get_size ast_dataitem_get_size_fixed_8_byte 431 #define ast_dataitem_034_SPF_get_size ast_dataitem_special_purpose_field_get_size 438 #define ast_dataitem_034_SPF_get_summary ast_dataitem_special_purpose_field_get_summary 441 #define ast_dataitem_034_SPF_get_detail_html ast_dataitem_get_detail_html_dummy 452 typedef struct _ast_datarecord_034_t
480 #endif //LIBASTERIX_CAT034_H ast_dataitem_034_050_t ast_dataitem_034_050_decode(const ast_dataitem_t di)
Decode function of dataitem.
ast_ssr_channel_selection_t
Definition: cat034.h:167
Data Item - Message Type.
Definition: cat_generic.h:51
unsigned int n_counters
Number of counters.
Definition: cat034.h:376
void ast_subfield_034_060_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get summary of subfield.
void ast_subfield_034_050_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get summary of subfield.
ast_subfield_type_t
Definition of subfield id in each dataitem.
Definition: subfield.h:52
bool com_time_source
Definition: cat034.h:191
bool psr_existing
Definition: cat034.h:200
Implementation of Datarecord concept defined by ASTERIX.
bool valid
Definition: cat034.h:178
ast_dataitem_034_070_t dataitem_034_070
Definition: cat034.h:464
bool mds_existing
Definition: cat034.h:210
ast_reduction_step_t ssr_reduction
Definition: cat034.h:296
bool ssr_monitoring
Definition: cat034.h:207
ast_counter_type_t type
Definition: cat034.h:365
Data Item - Data Source Identifier.
Definition: cat_generic.h:93
void ast_dataitem_034_070_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
bool com_existing
Definition: cat034.h:278
ast_dataitem_data_source_identifier_t ast_dataitem_034_010_t
Definition: cat034.h:81
bool com_rdp_overload
Definition: cat034.h:188
void ast_subfield_034_060_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get detail HTML snippet of subfield.
void ast_subfield_034_050_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get detail HTML snippet of subfield.
Data Item - Time of Day.
Definition: cat_generic.h:219
ast_dataitem_time_of_day_t ast_dataitem_034_030_t
Definition: cat034.h:122
Data Item I034/070 - Message Count Values.
Definition: cat034.h:372
size_t ast_subfield_034_050_get_size(const unsigned char *buffer, const size_t bufsize, const ast_subfield_type_t type)
Get size of subfield.
int com_rdp_chain
Definition: cat034.h:186
Data Item - Antenna Rotation Speed.
Definition: cat034.h:138
bool com_existing
Definition: cat034.h:184
void ast_dataitem_034_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_dataitem_034_050_t dataitem_034_050
Definition: cat034.h:462
unsigned int value
Definition: cat034.h:366
const char * ast_subfield_034_060_get_id(const ast_subfield_type_t type)
Get id string of subfield.
ast_dataitem_034_000_t dataitem_034_000
Definition: cat034.h:457
size_t n_subfields
Definition: cat034.h:181
ast_reduction_step_t com_xmp_reduction
Definition: cat034.h:280
This file includes the common used data items shares by different categories.
const char * ast_dataitem_034_get_name(const ast_dataitem_type_t type)
Get name function.
ast_dataitem_034_020_t dataitem_034_020
Definition: cat034.h:459
bool ssr_overload
Definition: cat034.h:206
ast_datarecord_034_t ast_datarecord_034_disassemble(const ast_datarecord_t dr)
Disassemble function.
const char * ast_subfield_034_050_get_name(const ast_subfield_type_t type)
Get name of subfield.
bool valid
Definition: cat034.h:374
bool mds_auto_cluster_state
Definition: cat034.h:301
unsigned int raw_period
Definition: cat034.h:142
Subfield struct.
Definition: subfield.h:292
ast_psr_polarization_t psr_polarization
Definition: cat034.h:290
Data Item I034/050 - Station Configuration & Status.
Definition: cat034.h:176
ast_dataitem_034_070_t ast_dataitem_034_070_decode(const ast_dataitem_t di)
Decode function.
#define AST_MAX_COUNTERS
Definition: cat034.h:369
double period
Raw format as defined in doc, resolution 1/128s.
Definition: cat034.h:143
Data Item - Sector Number.
Definition: cat_generic.h:171
ast_dataitem_sector_number_t ast_dataitem_034_020_t
Data Item I034/020 - Sector Number.
Definition: cat034.h:97
ast_dataitem_message_type_t ast_dataitem_034_000_t
Data Item I034/000 - Message Type.
Definition: cat034.h:56
Implementation of Dataitem concept defined by ASTERIX.
Data Record I034 - Transmission of Monoradar Service Messages.
Definition: cat034.h:453
ast_modes_message_type_t
Mode-S message type.
Definition: cat034.h:47
ast_datarecord_t ast_datarecord_034_assemble(unsigned char *const buffer, const size_t bufsize, const ast_datarecord_034_t dr, const ast_uap_t uap)
Assemble function.
bool com_rdp_chain_restart
Definition: cat034.h:187
ast_dataitem_034_030_t dataitem_034_030
Definition: cat034.h:460
void ast_dataitem_034_070_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
int ssr_antenna
Definition: cat034.h:204
Dataitem.
Definition: dataitem.h:422
bool com_monitoring
Definition: cat034.h:190
bool valid
Definition: cat034.h:455
const char * ast_subfield_034_050_get_id(const ast_subfield_type_t type)
Get id string of subfield.
ast_dataitem_034_060_t dataitem_034_060
Definition: cat034.h:463
bool mds_existing
Definition: cat034.h:299
ast_reduction_step_t
Definition: cat034.h:257
int psr_sensitive_time_control_map
Definition: cat034.h:292
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
size_t ast_dataitem_034_060_get_size(const unsigned char *buffer, const size_t bufsize)
Get size of dataitem.
ast_reduction_step_t mds_reduction
Definition: cat034.h:300
size_t n_subfields
Definition: cat034.h:275
ast_dataitem_034_060_t ast_dataitem_034_060_decode(const ast_dataitem_t di)
Decode function of dataitem.
#define AST_MAX_SUBFIELDS
Definition: subfield.h:362
bool valid
Definition: cat034.h:272
ast_reduction_step_t com_rdp_reduction
Definition: cat034.h:279
bool ssr_existing
Definition: cat034.h:295
bool com_xmt_overload
Definition: cat034.h:189
size_t ast_dataitem_034_050_get_size(const unsigned char *buffer, const size_t bufsize)
Get size of dataitem.
ast_counter_type_t
Definition: cat034.h:342
ast_dataitem_034_010_t dataitem_034_010
Definition: cat034.h:458
Datarecord.
Definition: datarecord.h:40
void ast_dataitem_034_041_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
Data Item I034/060 - System Processing Mode.
Definition: cat034.h:270
bool psr_existing
Definition: cat034.h:289
bool com_nogo
Definition: cat034.h:185
ast_psr_polarization_t
Definition: cat034.h:251
const char * ast_subfield_034_060_get_name(const ast_subfield_type_t type)
Get name of subfield.
size_t ast_subfield_034_060_get_size(const unsigned char *buffer, const size_t bufsize, const ast_subfield_type_t type)
Get size of subfield.
ast_ssr_channel_selection_t ssr_channel_selection
Definition: cat034.h:205
ast_reduction_step_t psr_reduction
Definition: cat034.h:291
bool ssr_existing
Definition: cat034.h:203
ast_dataitem_034_041_t ast_dataitem_034_041_decode(const ast_dataitem_t di)
Decode function.
bool valid
Definition: cat034.h:140
Implementation of Subfield concept defined by ASTERIX.
ast_dataitem_034_041_t dataitem_034_041
Definition: cat034.h:461