24 #ifndef LIBASTERIX_CAT002_H 25 #define LIBASTERIX_CAT002_H 45 typedef enum _ast_radar_message_type_t
59 #define ast_dataitem_002_000_get_size ast_dataitem_message_type_get_size 62 #define ast_dataitem_002_000_decode ast_dataitem_message_type_decode 65 #define ast_dataitem_002_000_encode ast_dataitem_message_type_encode 71 #define ast_dataitem_002_000_get_detail_html ast_dataitem_get_detail_html_dummy 85 #define ast_dataitem_002_010_get_size ast_dataitem_data_source_identifier_get_size 88 #define ast_dataitem_002_010_decode ast_dataitem_data_source_identifier_decode 91 #define ast_dataitem_002_010_encode ast_dataitem_data_source_identifier_encode 94 #define ast_dataitem_002_010_get_summary ast_dataitem_data_source_identifier_get_summary 97 #define ast_dataitem_002_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html 111 #define ast_dataitem_002_020_get_size ast_dataitem_sector_number_get_size 114 #define ast_dataitem_002_020_decode ast_dataitem_sector_number_decode 117 #define ast_dataitem_002_020_encode ast_dataitem_sector_number_encode 120 #define ast_dataitem_002_020_get_summary ast_dataitem_sector_number_get_summary 123 #define ast_dataitem_002_020_get_detail_html ast_dataitem_sector_number_get_detail_html 137 #define ast_dataitem_002_030_get_size ast_dataitem_time_of_day_get_size 140 #define ast_dataitem_002_030_decode ast_dataitem_time_of_day_decode 143 #define ast_dataitem_002_030_encode ast_dataitem_time_of_day_encode 146 #define ast_dataitem_002_030_get_summary ast_dataitem_time_of_day_get_summary 149 #define ast_dataitem_002_030_get_detail_html ast_dataitem_time_of_day_get_detail_html 159 #define ast_dataitem_002_041_get_size ast_dataitem_get_size_fixed_2_byte 170 #define ast_dataitem_002_050_get_size ast_dataitem_get_size_var_unlimited 171 #define ast_dataitem_002_050_get_summary ast_dataitem_binary_data_get_summary 172 #define ast_dataitem_002_050_get_detail_html ast_dataitem_get_detail_html_dummy 183 #define ast_dataitem_002_SPF_get_size ast_dataitem_special_purpose_field_get_size 190 #define ast_dataitem_002_SPF_get_summary ast_dataitem_special_purpose_field_get_summary 193 #define ast_dataitem_002_SPF_get_detail_html ast_dataitem_get_detail_html_dummy 209 #define ast_datarecord_002_get_tracknum 0 212 #define ast_datarecord_002_get_squawk 0 215 #define ast_datarecord_002_get_callsign 0 218 #define ast_datarecord_002_get_icaoaddr 0 221 #define ast_datarecord_002_get_coordinate 0 224 #define ast_datarecord_002_get_flightlevel 0 227 #define ast_datarecord_002_get_polarcoord 0 230 #define ast_datarecord_002_get_heading 0 233 #define ast_datarecord_002_get_speed 0 240 typedef struct _ast_datarecord_002_t
264 #endif //LIBASTERIX_CAT002_H ast_dataitem_message_type_t ast_dataitem_002_000_t
Data Item I002/000 - Message Type.
Definition: cat002.h:56
Data Item - Message Type.
Definition: cat_generic.h:51
void ast_dataitem_002_000_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
Implementation of Datarecord concept defined by ASTERIX.
Data Source Identifier (aka SAC/SIC)
Definition: type.h:35
ast_datarecord_002_t ast_datarecord_002_disassemble(const ast_datarecord_t dr)
Disassemble function.
ast_dataitem_002_020_t dataitem_002_020
Definition: cat002.h:247
Data Item - Data Source Identifier.
Definition: cat_generic.h:93
Data Item - Time of Day.
Definition: cat_generic.h:219
This file includes the common used data items shares by different categories.
ast_dataitem_002_000_t dataitem_002_000
Definition: cat002.h:245
ast_dataitem_002_030_t dataitem_002_030
Definition: cat002.h:248
ast_dataitem_002_010_t dataitem_002_010
Definition: cat002.h:246
ast_radar_message_type_t
Radar message type.
Definition: cat002.h:46
ast_datarecord_t ast_datarecord_002_assemble(unsigned char *const buffer, const size_t bufsize, const ast_datarecord_002_t dr, const ast_uap_t uap)
Assemble function.
Data Item - Sector Number.
Definition: cat_generic.h:171
Implementation of Dataitem concept defined by ASTERIX.
ast_dataitem_time_of_day_t ast_dataitem_002_030_t
Data Item I002/030 - Time of Day.
Definition: cat002.h:134
ast_msgtype_t ast_datarecord_002_get_msgtype(const ast_datarecord_t dr)
Get message type function.
ast_dataitem_data_source_identifier_t ast_dataitem_002_010_t
Data Item I002/010 - Data Source Identifier.
Definition: cat002.h:82
bool valid
Definition: cat002.h:243
Dataitem.
Definition: dataitem.h:422
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
ast_dataitem_sector_number_t ast_dataitem_002_020_t
Data Item I002/020 - Sector Number.
Definition: cat002.h:108
Time of day.
Definition: type.h:43
ast_sacsic_t ast_datarecord_002_get_sacsic(const ast_datarecord_t dr)
Get SAC/SIC function.
Datarecord.
Definition: datarecord.h:40
const char * ast_dataitem_002_get_name(const ast_dataitem_type_t type)
Get name function.
ast_timeofday_t ast_datarecord_002_get_timeofday(const ast_datarecord_t dr)
Get time of day function.
Data Record I002 - Monoradar Service Messages.
Definition: cat002.h:241