29 #ifndef LIBASTERIX_CAT020_H 30 #define LIBASTERIX_CAT020_H 51 #define ast_dataitem_020_010_get_size ast_dataitem_data_source_identifier_get_size 52 #define ast_dataitem_020_010_decode ast_dataitem_data_source_identifier_decode 53 #define ast_dataitem_020_010_encode ast_dataitem_data_source_identifier_encode 54 #define ast_dataitem_020_010_get_summary ast_dataitem_data_source_identifier_get_summary 55 #define ast_dataitem_020_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html 65 typedef struct _ast_dataitem_020_020_t
88 #define ast_dataitem_020_020_get_size ast_dataitem_get_size_var_2_byte 106 #define ast_dataitem_020_030_get_size ast_dataitem_get_size_var_2_byte 117 #define ast_dataitem_020_041_get_size ast_dataitem_position_wgs84_get_size 118 #define ast_dataitem_020_041_decode ast_dataitem_position_wgs84_decode 119 #define ast_dataitem_020_041_get_summary ast_dataitem_position_wgs84_get_summary 120 #define ast_dataitem_020_041_get_detail_html ast_dataitem_position_wgs84_get_detail_html 131 #define ast_dataitem_020_042_get_size ast_dataitem_position_cartesian_get_size 132 #define ast_dataitem_020_042_decode ast_dataitem_position_cartesian_decode 133 #define ast_dataitem_020_042_get_summary ast_dataitem_position_cartesian_get_summary 134 #define ast_dataitem_020_042_get_detail_html ast_dataitem_position_cartesian_get_detail_html 144 #define ast_dataitem_020_050_get_size ast_dataitem_mode_2_code_get_size 163 #define ast_dataitem_020_070_get_size ast_dataitem_mode_3a_code_get_size 164 #define ast_dataitem_020_070_decode ast_dataitem_mode_3a_code_decode 165 #define ast_dataitem_020_070_encode ast_dataitem_mode_3a_code_encode 166 #define ast_dataitem_020_070_get_summary ast_dataitem_mode_3a_code_get_summary 167 #define ast_dataitem_020_070_get_detail_html ast_dataitem_mode_3a_code_get_detail_html 178 #define ast_dataitem_020_090_get_size ast_dataitem_mode_c_code_get_size 179 #define ast_dataitem_020_090_decode ast_dataitem_mode_c_code_decode 180 #define ast_dataitem_020_090_encode ast_dataitem_mode_c_code_encode 181 #define ast_dataitem_020_090_get_summary ast_dataitem_mode_c_code_get_summary 182 #define ast_dataitem_020_090_get_detail_html ast_dataitem_mode_c_code_get_detail_html 203 #define ast_dataitem_020_105_get_size ast_dataitem_height_get_size 204 #define ast_dataitem_020_105_decode ast_dataitem_height_decode 205 #define ast_dataitem_020_105_get_summary ast_dataitem_height_get_summary 206 #define ast_dataitem_020_105_get_detail_html ast_dataitem_height_get_detail_html 216 #define ast_dataitem_020_110_get_size ast_dataitem_height_get_size 217 #define ast_dataitem_020_110_decode ast_dataitem_height_decode 218 #define ast_dataitem_020_110_get_summary ast_dataitem_height_get_summary 219 #define ast_dataitem_020_110_get_detail_html ast_dataitem_height_get_detail_html 230 #define ast_dataitem_020_140_get_size ast_dataitem_time_of_day_get_size 231 #define ast_dataitem_020_140_decode ast_dataitem_time_of_day_decode 232 #define ast_dataitem_020_140_encode ast_dataitem_time_of_day_encode 233 #define ast_dataitem_020_140_get_summary ast_dataitem_time_of_day_get_summary 234 #define ast_dataitem_020_140_get_detail_html ast_dataitem_time_of_day_get_detail_html 245 #define ast_dataitem_020_161_get_size ast_dataitem_track_number_get_size 246 #define ast_dataitem_020_161_decode ast_dataitem_track_number_decode 249 #define ast_dataitem_020_161_encode ast_dataitem_track_number_encode 251 #define ast_dataitem_020_161_get_summary ast_dataitem_track_number_get_summary 252 #define ast_dataitem_020_161_get_detail_html ast_dataitem_track_number_get_detail_html 262 typedef enum _ast_mlat_track_vertical_maneuver_t
272 typedef struct _ast_dataitem_020_170_t
286 #define ast_dataitem_020_170_get_size ast_dataitem_get_size_var_2_byte 306 #define ast_dataitem_020_202_get_size ast_dataitem_velocity_cartesian_get_size 307 #define ast_dataitem_020_202_decode ast_dataitem_velocity_cartesian_decode 308 #define ast_dataitem_020_202_get_summary ast_dataitem_velocity_cartesian_get_summary 309 #define ast_dataitem_020_202_get_detail_html ast_dataitem_get_detail_html_dummy 314 #define ast_dataitem_020_210_get_size ast_dataitem_get_size_fixed_2_byte 324 #define ast_dataitem_020_220_get_size ast_dataitem_target_address_get_size 325 #define ast_dataitem_020_220_decode ast_dataitem_target_address_decode 326 #define ast_dataitem_020_220_encode ast_dataitem_target_address_encode 327 #define ast_dataitem_020_220_get_summary ast_dataitem_target_address_get_summary 328 #define ast_dataitem_020_220_get_detail_html ast_dataitem_target_address_get_detail_html 338 typedef enum _ast_mlat_comm_capbility_t
350 typedef enum _ast_mlat_flight_status_t
363 typedef struct _ast_dataitem_020_230_t
379 #define ast_dataitem_020_230_get_size ast_dataitem_get_size_fixed_2_byte 399 #define ast_dataitem_020_245_get_size ast_dataitem_target_id_get_size 400 #define ast_dataitem_020_245_decode ast_dataitem_target_id_decode 401 #define ast_dataitem_020_245_get_summary ast_dataitem_target_id_get_summary 402 #define ast_dataitem_020_245_get_detail_html ast_dataitem_target_id_get_detail_html 413 #define ast_dataitem_020_250_get_size ast_dataitem_modes_mb_get_size 414 #define ast_dataitem_020_250_decode ast_dataitem_modes_mb_decode 415 #define ast_dataitem_020_250_get_summary ast_dataitem_modes_mb_get_summary 416 #define ast_dataitem_020_250_get_detail_html ast_dataitem_modes_mb_get_detail_html 421 #define ast_dataitem_020_260_get_size ast_dataitem_get_size_fixed_7_byte 426 #define ast_dataitem_020_300_get_size ast_dataitem_get_size_fixed_1_byte 430 #define ast_dataitem_020_310_get_size ast_dataitem_get_size_fixed_1_byte 438 #define AST_MAX_MLAT_RECEIVERS 256 441 typedef struct _ast_dataitem_020_400_t
452 #define ast_dataitem_020_400_get_size ast_dataitem_get_size_rep_1_byte 471 typedef struct _ast_dataitem_020_500_t
510 #define ast_dataitem_020_REF_get_size ast_dataitem_reserved_expansion_field_get_size 517 #define ast_dataitem_020_REF_get_summary ast_dataitem_reserved_expansion_field_get_summary; 520 #define ast_dataitem_020_REF_get_detail_html ast_dataitem_reserved_expansion_field_get_detail_html; 554 #define ast_datarecord_020_get_polarcoord 0 557 #define ast_datarecord_020_get_heading 0 560 #define ast_datarecord_020_get_speed 0 567 typedef struct _ast_datarecord_020_t
602 #endif //LIBASTERIX_CAT020_H ast_dataitem_020_230_t ast_dataitem_020_230_decode(const ast_dataitem_t di)
Decode function.
bool test
Definition: cat020.h:84
ast_dataitem_020_400_t ast_dataitem_020_400_decode(const ast_dataitem_t di)
Decode function.
Altitude.
Definition: type.h:111
ast_dataitem_020_170_t ast_dataitem_020_170_decode(const ast_dataitem_t di)
Decode function.
int dop_x
Definition: cat020.h:480
bool coast
Definition: cat020.h:278
ast_dataitem_020_500_t dataitem_020_500
Definition: cat020.h:589
ast_dataitem_020_020_t ast_dataitem_020_020_decode(const ast_dataitem_t di)
Decode function.
bool valid
Definition: cat020.h:365
bool ground
Definition: cat020.h:81
ast_sacsic_t ast_datarecord_020_get_sacsic(const ast_datarecord_t dr)
Get SAC/SIC function.
void ast_dataitem_020_170_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
bool h_maneuvre
Definition: cat020.h:280
bool valid
Definition: cat020.h:274
Implementation of Datarecord concept defined by ASTERIX.
Data Source Identifier (aka SAC/SIC)
Definition: type.h:35
size_t ast_dataitem_020_500_get_size(const unsigned char *buffer, const size_t bufsize)
Get size funciton.
ast_dataitem_020_230_t dataitem_020_230
Definition: cat020.h:585
ast_dataitem_020_245_t dataitem_020_245
Definition: cat020.h:586
Data Item Itrack_number - Track Number.
Definition: cat_generic.h:727
void ast_dataitem_020_500_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_track_number_t ast_dataitem_020_161_t
Definition: cat020.h:244
Data Item I020/400 - Contributing Receivers.
Definition: cat020.h:441
ast_dataitem_mode_c_code_t ast_dataitem_020_090_t
Definition: cat020.h:177
bool corrupted_reply
Definition: cat020.h:82
ast_tracknum_t ast_datarecord_020_get_tracknum(const ast_datarecord_t dr)
Get track number function.
ast_mlat_track_vertical_maneuver_t v_maneuvre
Definition: cat020.h:279
bool simulated
Definition: cat020.h:83
int sdp_y
Definition: cat020.h:485
Data Item - Position in Cartesian Coordinates.
Definition: cat_generic.h:384
ast_mlat_flight_status_t
MLAT flight status.
Definition: cat020.h:350
int dop_xy
Definition: cat020.h:482
Data Item - Data Source Identifier.
Definition: cat_generic.h:93
bool ghost
Definition: cat020.h:282
ast_dataitem_020_042_t dataitem_020_042
Definition: cat020.h:575
void ast_dataitem_020_230_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary funciton.
ast_dataitem_data_source_identifier_t ast_dataitem_020_010_t
Definition: cat020.h:50
bool altitude_cap
Definition: cat020.h:371
Data Item - Time of Day.
Definition: cat_generic.h:219
ast_mlat_comm_capbility_t
MLAT communication capbility.
Definition: cat020.h:339
ast_dataitem_height_t ast_dataitem_020_110_t
Definition: cat020.h:215
void ast_dataitem_020_500_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
This file includes the common used data items shares by different categories.
Data Record I020 - MLT Messages.
Definition: cat020.h:568
Data Item - Mode S MB Data.
Definition: cat_generic.h:965
#define AST_MAX_MLAT_RECEIVERS
Definition: cat020.h:438
int dop_y
Definition: cat020.h:481
bool type_non_modes
Definition: cat020.h:70
ast_mlat_comm_capbility_t comm_cap
Definition: cat020.h:367
void ast_dataitem_020_400_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_squawk_t ast_datarecord_020_get_squawk(const ast_datarecord_t dr)
Get Mode-3/A code function.
Data Item - Target Identification.
Definition: cat_generic.h:893
ast_dataitem_020_105_t dataitem_020_105
Definition: cat020.h:578
ast_dataitem_time_of_day_t ast_dataitem_020_140_t
Definition: cat020.h:229
int chain
Definition: cat020.h:80
void ast_dataitem_020_170_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
Data Item - Mode-C Code.
Definition: cat_generic.h:562
bool initiation
Definition: cat020.h:276
bool type_vdl4
Definition: cat020.h:73
int n_total
Definition: cat020.h:445
bool last_report
Definition: cat020.h:277
void ast_dataitem_020_020_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_coordinate_t ast_datarecord_020_get_coordinate(const ast_datarecord_t dr)
Get coordinate function.
ast_dataitem_target_address_t ast_dataitem_020_220_t
Definition: cat020.h:323
Data Item I020/020 - Target Report Descriptor.
Definition: cat020.h:66
ast_dataitem_020_110_t dataitem_020_110
Definition: cat020.h:579
ast_dataitem_modes_mb_t ast_dataitem_020_250_t
Definition: cat020.h:412
bool dop_existing
Definition: cat020.h:476
Data Item - Position in WGS84 Coordinates.
Definition: cat_generic.h:343
void ast_dataitem_020_400_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_dataitem_020_070_t dataitem_020_070
Definition: cat020.h:576
ast_mlat_track_vertical_maneuver_t
MLAT track vertical maneuver status.
Definition: cat020.h:263
char b1b
Definition: cat020.h:375
Squawk (aka Mode-3/A Code)
Definition: type.h:80
ast_mlat_flight_status_t flight_status
Definition: cat020.h:368
Data Item - Calculated Track Velocity in Cartesian Coordinates.
Definition: cat_generic.h:423
Implementation of Dataitem concept defined by ASTERIX.
ast_dataitem_020_500_t ast_dataitem_020_500_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_velocity_cartesian_t ast_dataitem_020_202_t
Definition: cat020.h:305
bool valid
Definition: cat020.h:443
bool type_other
Definition: cat020.h:76
Data Item - Target Address.
Definition: cat_generic.h:807
ast_dataitem_020_161_t dataitem_020_161
Definition: cat020.h:581
char b1a
Definition: cat020.h:374
ast_dataitem_020_220_t dataitem_020_220
Definition: cat020.h:584
bool spi
Definition: cat020.h:79
void ast_dataitem_020_020_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
Dataitem.
Definition: dataitem.h:422
ast_dataitem_020_090_t dataitem_020_090
Definition: cat020.h:577
ast_dataitem_height_t ast_dataitem_020_105_t
Definition: cat020.h:202
ast_msgtype_t ast_datarecord_020_get_msgtype(const ast_datarecord_t dr)
Get message type function.
Data Item - Mode-3/A Code in Octal Representation.
Definition: cat_generic.h:478
bool type_dme
Definition: cat020.h:75
ast_datarecord_020_t ast_datarecord_020_disassemble(const ast_datarecord_t dr)
Disassemble function.
bool type_uat
Definition: cat020.h:74
ast_callsign_t ast_datarecord_020_get_callsign(const ast_datarecord_t dr)
Get callsign function.
bool sdp_existing
Definition: cat020.h:477
Callsign.
Definition: type.h:89
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
size_t ast_dataitem_020_055_get_size(const unsigned char *buffer, const size_t bufsize)
bool valid
Definition: cat020.h:68
bool type_modes
Definition: cat020.h:71
ast_dataitem_position_cartesian_t ast_dataitem_020_042_t
Definition: cat020.h:130
Data Item I020/500 - Position Accuracy.
Definition: cat020.h:472
WGS-84 2D Coordinate.
Definition: type.h:103
Time of day.
Definition: type.h:43
int sdp_x
Definition: cat020.h:484
ast_dataitem_020_170_t dataitem_020_170
Definition: cat020.h:582
ast_dataitem_target_id_t ast_dataitem_020_245_t
Definition: cat020.h:398
bool sdh_existing
Definition: cat020.h:478
Datarecord.
Definition: datarecord.h:40
ast_dataitem_020_400_t dataitem_020_400
Definition: cat020.h:588
ast_dataitem_020_250_t dataitem_020_250
Definition: cat020.h:587
bool valid
Definition: cat020.h:474
ast_timeofday_t ast_datarecord_020_get_timeofday(const ast_datarecord_t dr)
Get time of day function.
ast_dataitem_020_020_t dataitem_020_020
Definition: cat020.h:573
ast_dataitem_position_wgs84_t ast_dataitem_020_041_t
Definition: cat020.h:116
Data Item I020/170 - Track Status.
Definition: cat020.h:272
int n_contributing
Definition: cat020.h:446
bool type_hf
Definition: cat020.h:72
ast_dataitem_mode_3a_code_t ast_dataitem_020_070_t
Definition: cat020.h:162
ast_dataitem_020_140_t dataitem_020_140
Definition: cat020.h:580
int sdh
Definition: cat020.h:488
int sdp_xy
Definition: cat020.h:486
ast_dataitem_020_202_t dataitem_020_202
Definition: cat020.h:583
bool mode_s_cap
Definition: cat020.h:370
ast_altitude_t ast_datarecord_020_get_flightlevel(const ast_datarecord_t dr)
Get flight level function.
ast_dataitem_020_010_t dataitem_020_010
Definition: cat020.h:572
Data Item - Height.
Definition: cat_generic.h:644
bool identification_cap
Definition: cat020.h:372
bool smoothed
Definition: cat020.h:281
ICAO 24-bit Address.
Definition: type.h:96
Data Item I020/230 - Communications/ACAS Capability and Flight Status.
Definition: cat020.h:363
const char * ast_dataitem_020_get_name(const ast_dataitem_type_t type)
Get name function.
ast_icaoaddr_t ast_datarecord_020_get_icaoaddr(const ast_datarecord_t dr)
Get ICAO 24-bit address function.
bool fixed_transponder
Definition: cat020.h:78
ast_dataitem_020_041_t dataitem_020_041
Definition: cat020.h:574
Track Number.
Definition: type.h:73
void ast_dataitem_020_230_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
size_t ast_dataitem_020_100_get_size(const unsigned char *buffer, const size_t bufsize)
bool valid
Definition: cat020.h:570