32 #ifndef LIBASTERIX_CAT021_H 33 #define LIBASTERIX_CAT021_H 55 typedef enum _ast_ac_trajectory_report_capability_t
63 typedef struct _ast_dataitem_021_008_t
77 #define ast_dataitem_021_008_get_size ast_dataitem_get_size_fixed_1_byte 97 #define ast_dataitem_021_010_get_size ast_dataitem_data_source_identifier_get_size 98 #define ast_dataitem_021_010_decode ast_dataitem_data_source_identifier_decode 99 #define ast_dataitem_021_010_encode ast_dataitem_data_source_identifier_encode 100 #define ast_dataitem_021_010_get_summary ast_dataitem_data_source_identifier_get_summary 101 #define ast_dataitem_021_010_get_detail_html ast_dataitem_data_source_identifier_get_detail_html 112 #define ast_dataitem_021_015_get_size ast_dataitem_service_id_get_size 113 #define ast_dataitem_021_015_decode ast_dataitem_service_id_decode 114 #define ast_dataitem_021_015_get_summary ast_dataitem_service_id_get_summary 115 #define ast_dataitem_021_015_get_detail_html ast_dataitem_service_id_get_detail_html 125 typedef struct _ast_dataitem_021_016_t
135 #define ast_dataitem_021_016_get_size ast_dataitem_get_size_fixed_1_byte 144 #define ast_dataitem_021_016_get_detail_html ast_dataitem_get_detail_html_dummy; 154 typedef enum _ast_emitter_category_t
178 typedef struct _ast_dataitem_021_020_t
186 #define ast_dataitem_021_020_get_size ast_dataitem_get_size_fixed_1_byte 209 #define ast_dataitem_021_030_get_size ast_dataitem_time_of_day_get_size 210 #define ast_dataitem_021_030_decode ast_dataitem_time_of_day_decode 211 #define ast_dataitem_021_030_encode ast_dataitem_time_of_day_encode 212 #define ast_dataitem_021_030_get_summary ast_dataitem_time_of_day_get_summary 213 #define ast_dataitem_021_030_get_detail_html ast_dataitem_time_of_day_get_detail_html 223 typedef struct _ast_dataitem_021_032_t
232 #define ast_dataitem_021_032_get_size ast_dataitem_get_size_fixed_1_byte 250 typedef enum _ast_adsb_addr_type_t
259 typedef enum _ast_adsb_altitude_capability_t
267 typedef enum _ast_adsb_confidence_level_t
275 typedef struct _ast_dataitem_021_040_t
297 #define ast_dataitem_021_040_get_size ast_dataitem_get_size_var_3_byte 318 typedef struct _ast_dataitem_021_A03_t
334 #define ast_dataitem_021_A03_get_size ast_dataitem_get_size_fixed_2_byte 357 #define ast_dataitem_021_070_get_size ast_dataitem_mode_3a_code_get_size 358 #define ast_dataitem_021_070_decode ast_dataitem_mode_3a_code_decode 359 #define ast_dataitem_021_070_encode ast_dataitem_mode_3a_code_encode 360 #define ast_dataitem_021_070_get_summary ast_dataitem_mode_3a_code_get_summary 361 #define ast_dataitem_021_070_get_detail_html ast_dataitem_mode_3a_code_get_detail_html 371 #define ast_dataitem_021_071_get_size ast_dataitem_time_of_day_get_size 372 #define ast_dataitem_021_071_decode ast_dataitem_time_of_day_decode 373 #define ast_dataitem_021_071_get_summary ast_dataitem_time_of_day_get_summary 374 #define ast_dataitem_021_071_get_detail_html ast_dataitem_time_of_day_get_detail_html 384 #define ast_dataitem_021_072_get_size ast_dataitem_time_of_day_get_size 385 #define ast_dataitem_021_072_decode ast_dataitem_time_of_day_decode 386 #define ast_dataitem_021_072_get_summary ast_dataitem_time_of_day_get_summary 387 #define ast_dataitem_021_072_get_detail_html ast_dataitem_time_of_day_get_detail_html 397 #define ast_dataitem_021_073_get_size ast_dataitem_time_of_day_get_size 398 #define ast_dataitem_021_073_decode ast_dataitem_time_of_day_decode 399 #define ast_dataitem_021_073_get_summary ast_dataitem_time_of_day_get_summary 400 #define ast_dataitem_021_073_get_detail_html ast_dataitem_time_of_day_get_detail_html 411 #define ast_dataitem_021_074_get_size ast_dataitem_time_of_day_high_get_size 412 #define ast_dataitem_021_074_decode ast_dataitem_time_of_day_high_decode 413 #define ast_dataitem_021_074_get_summary ast_dataitem_time_of_day_high_get_summary 414 #define ast_dataitem_021_074_get_detail_html ast_dataitem_time_of_day_high_get_detail_html 425 #define ast_dataitem_021_075_get_size ast_dataitem_time_of_day_get_size 426 #define ast_dataitem_021_075_decode ast_dataitem_time_of_day_decode 427 #define ast_dataitem_021_075_get_summary ast_dataitem_time_of_day_get_summary 428 #define ast_dataitem_021_075_get_detail_html ast_dataitem_time_of_day_get_detail_html 438 #define ast_dataitem_021_076_get_size ast_dataitem_time_of_day_high_get_size 439 #define ast_dataitem_021_076_decode ast_dataitem_time_of_day_high_decode 440 #define ast_dataitem_021_076_get_summary ast_dataitem_time_of_day_high_get_summary 441 #define ast_dataitem_021_076_get_detail_html ast_dataitem_time_of_day_high_get_detail_html 452 #define ast_dataitem_021_077_get_size ast_dataitem_time_of_day_get_size 453 #define ast_dataitem_021_077_decode ast_dataitem_time_of_day_decode 454 #define ast_dataitem_021_077_get_summary ast_dataitem_time_of_day_get_summary 455 #define ast_dataitem_021_077_get_detail_html ast_dataitem_time_of_day_get_detail_html 466 #define ast_dataitem_021_080_get_size ast_dataitem_target_address_get_size 467 #define ast_dataitem_021_080_decode ast_dataitem_target_address_decode 468 #define ast_dataitem_021_080_encode ast_dataitem_target_address_encode 469 #define ast_dataitem_021_080_get_summary ast_dataitem_target_address_get_summary 470 #define ast_dataitem_021_080_get_detail_html ast_dataitem_target_address_get_detail_html 480 typedef struct _ast_dataitem_021_090_t
497 #define ast_dataitem_021_090_get_size ast_dataitem_get_size_var_4_byte 519 typedef enum _ast_acas_status_t
527 typedef enum _ast_multi_navi_aids_status_t
535 typedef enum _ast_diff_correction_status_t
543 typedef struct _ast_dataitem_021_A05_t
554 #define ast_dataitem_021_A05_get_size ast_dataitem_get_size_fixed_2_byte 576 typedef struct _ast_dataitem_021_095_t
585 #define ast_dataitem_021_095_get_size ast_dataitem_get_size_fixed_1_byte 597 #define ast_dataitem_021_095_get_detail_html ast_dataitem_get_detail_html_dummy 614 #define ast_dataitem_021_110_get_summary ast_dataitem_subfields_get_summary 617 #define ast_dataitem_021_110_get_detail_html ast_dataitem_subfields_get_detail_html 643 #define ast_dataitem_021_130_get_size ast_dataitem_position_wgs84_low_get_size 644 #define ast_dataitem_021_130_decode ast_dataitem_position_wgs84_low_decode 645 #define ast_dataitem_021_130_encode ast_dataitem_position_wgs84_low_encode 646 #define ast_dataitem_021_130_get_summary ast_dataitem_position_wgs84_low_get_summary 647 #define ast_dataitem_021_130_get_detail_html ast_dataitem_position_wgs84_low_get_detail_html 658 #define ast_dataitem_021_A02_get_size ast_dataitem_position_wgs84_get_size 659 #define ast_dataitem_021_A02_decode ast_dataitem_position_wgs84_decode 660 #define ast_dataitem_021_A02_encode ast_dataitem_position_wgs84_encode 661 #define ast_dataitem_021_A02_get_summary ast_dataitem_position_wgs84_get_summary 662 #define ast_dataitem_021_A02_get_detail_html ast_dataitem_position_wgs84_get_detail_html 673 #define ast_dataitem_021_131_get_size ast_dataitem_position_wgs84_get_size 674 #define ast_dataitem_021_131_decode ast_dataitem_position_wgs84_decode 675 #define ast_dataitem_021_131_encode ast_dataitem_position_wgs84_encode 676 #define ast_dataitem_021_131_get_summary ast_dataitem_position_wgs84_get_summary 677 #define ast_dataitem_021_131_get_detail_html ast_dataitem_position_wgs84_get_detail_html 691 #define ast_dataitem_021_A04_get_size ast_dataitem_signal_amplitude_get_size 694 #define ast_dataitem_021_A04_decode ast_dataitem_signal_amplitude_decode 697 #define ast_dataitem_021_A04_encode ast_dataitem_signal_amplitude_encode 700 #define ast_dataitem_021_A04_get_summary ast_dataitem_signal_amplitude_get_summary 703 #define ast_dataitem_021_A04_get_detail_html ast_dataitem_signal_amplitude_get_detail_html 717 #define ast_dataitem_021_132_get_size ast_dataitem_signal_amplitude_get_size 720 #define ast_dataitem_021_132_decode ast_dataitem_signal_amplitude_decode 723 #define ast_dataitem_021_132_encode ast_dataitem_signal_amplitude_encode 726 #define ast_dataitem_021_132_get_summary ast_dataitem_signal_amplitude_get_summary 729 #define ast_dataitem_021_132_get_detail_html ast_dataitem_signal_amplitude_get_detail_html 739 typedef struct _ast_dataitem_021_140_t
748 #define ast_dataitem_021_140_get_size ast_dataitem_get_size_fixed_2_byte 767 typedef struct _ast_dataitem_021_145_t
776 #define ast_dataitem_021_145_get_size ast_dataitem_get_size_fixed_2_byte 797 typedef enum _ast_adsb_sas_type_t
806 typedef struct _ast_dataitem_021_146_t
816 #define ast_dataitem_021_146_get_size ast_dataitem_get_size_fixed_2_byte 834 #define ast_dataitem_021_148_get_size ast_dataitem_get_size_fixed_2_byte 844 typedef struct _ast_dataitem_021_150_t
860 #define ast_dataitem_021_150_get_size ast_dataitem_get_size_fixed_2_byte 879 typedef struct _ast_dataitem_021_151_t
888 #define ast_dataitem_021_151_get_size ast_dataitem_get_size_fixed_2_byte 907 typedef struct _ast_dataitem_021_152_t
917 #define ast_dataitem_021_152_get_size ast_dataitem_get_size_fixed_2_byte 938 #define ast_dataitem_021_155_get_size ast_dataitem_vertical_rate_get_size 939 #define ast_dataitem_021_155_decode ast_dataitem_vertical_rate_decode 940 #define ast_dataitem_021_155_get_summary ast_dataitem_vertical_rate_get_summary 941 #define ast_dataitem_021_155_get_detail_html ast_dataitem_vertical_rate_get_detail_html 952 #define ast_dataitem_021_157_get_size ast_dataitem_vertical_rate_get_size 953 #define ast_dataitem_021_157_decode ast_dataitem_vertical_rate_decode 954 #define ast_dataitem_021_157_get_summary ast_dataitem_vertical_rate_get_summary 955 #define ast_dataitem_021_157_get_detail_html ast_dataitem_vertical_rate_get_detail_html 965 typedef struct _ast_dataitem_021_160_t
978 #define ast_dataitem_021_160_get_size ast_dataitem_get_size_fixed_4_byte 1004 #define ast_dataitem_021_161_get_size ast_dataitem_track_number_get_size 1007 #define ast_dataitem_021_161_decode ast_dataitem_track_number_decode 1010 #define ast_dataitem_021_161_encode ast_dataitem_track_number_encode 1013 #define ast_dataitem_021_161_get_summary ast_dataitem_track_number_get_summary 1016 #define ast_dataitem_021_161_get_detail_html ast_dataitem_track_number_get_detail_html 1025 #define ast_dataitem_021_165_get_size ast_dataitem_get_size_var_2_byte 1037 #define ast_dataitem_021_170_get_size ast_dataitem_aircraft_id_get_size 1038 #define ast_dataitem_021_170_decode ast_dataitem_aircraft_id_decode 1039 #define ast_dataitem_021_170_encode ast_dataitem_aircraft_id_encode 1040 #define ast_dataitem_021_170_get_summary ast_dataitem_aircraft_id_get_summary 1041 #define ast_dataitem_021_170_get_detail_html ast_dataitem_aircraft_id_get_detail_html 1051 typedef enum _ast_adsb_emergeny_type_t
1062 typedef struct _ast_dataitem_021_200_t
1070 #define ast_dataitem_021_200_get_size ast_dataitem_get_size_fixed_1_byte 1082 #define ast_dataitem_021_200_get_detail_html ast_dataitem_get_detail_html_dummy 1092 typedef enum _ast_adsb_link_type_t
1102 typedef struct _ast_dataitem_021_210_t
1112 #define ast_dataitem_021_210_get_size ast_dataitem_get_size_fixed_1_byte 1132 typedef struct _ast_dataitem_021_A06_t
1145 #define ast_dataitem_021_A06_get_size ast_dataitem_get_size_fixed_1_byte 1171 #define ast_dataitem_021_220_get_summary ast_dataitem_subfields_get_summary 1174 #define ast_dataitem_021_220_get_detail_html ast_dataitem_subfields_get_detail_html 1200 typedef struct _ast_dataitem_021_230_t
1209 #define ast_dataitem_021_230_get_size ast_dataitem_get_size_fixed_2_byte 1218 #define ast_dataitem_021_230_get_detail_html ast_dataitem_get_detail_html_dummy 1229 #define ast_dataitem_021_250_get_size ast_dataitem_modes_mb_get_size 1230 #define ast_dataitem_021_250_decode ast_dataitem_modes_mb_decode 1231 #define ast_dataitem_021_250_get_summary ast_dataitem_modes_mb_get_summary 1232 #define ast_dataitem_021_250_get_detail_html ast_dataitem_modes_mb_get_detail_html 1241 typedef struct _ast_dataitem_021_271_t
1249 #define ast_dataitem_021_271_get_size ast_dataitem_get_size_var_2_byte 1291 typedef struct _ast_dataitem_021_295_t
1400 #define ast_dataitem_021_295_get_summary ast_dataitem_subfields_get_summary 1403 #define ast_dataitem_021_295_get_detail_html ast_dataitem_subfields_get_detail_html 1428 typedef struct _ast_dataitem_021_400_t
1437 #define ast_dataitem_021_400_get_size ast_dataitem_get_size_fixed_1_byte 1446 #define ast_dataitem_021_400_get_detail_html ast_dataitem_get_detail_html_dummy 1456 #define ast_dataitem_021_REF_get_size ast_dataitem_reserved_expansion_field_get_size 1463 #define ast_dataitem_021_REF_get_summary ast_dataitem_reserved_expansion_field_get_summary; 1466 #define ast_dataitem_021_REF_get_detail_html ast_dataitem_reserved_expansion_field_get_detail_html; 1476 #define ast_dataitem_021_SPF_get_size ast_dataitem_special_purpose_field_get_size 1483 #define ast_dataitem_021_SPF_get_summary ast_dataitem_special_purpose_field_get_summary; 1486 #define ast_dataitem_021_SPF_get_detail_html ast_dataitem_special_purpose_field_get_detail_html; 1520 #define ast_datarecord_021_get_polarcoord 0 1533 typedef struct _ast_datarecord_021_v026_t
1569 typedef struct _ast_datarecord_021_v24_t
1607 #endif // extern "C" 1609 #endif //LIBASTERIX_CAT021_H ast_sacsic_t ast_datarecord_021_get_sacsic(const ast_datarecord_t dr)
Get SAC/SIC function.
ast_dataitem_position_wgs84_t ast_dataitem_021_131_t
Definition: cat021.h:672
ast_adsb_altitude_capability_t
Definition: cat021.h:259
ast_dataitem_021_072_t dataitem_021_072
Definition: cat021.h:1581
Altitude.
Definition: type.h:111
bool m3a_existing
Definition: cat021.h:1308
ast_dataitem_021_150_t dataitem_021_150
Definition: cat021.h:1591
Data Item I021/200 - Target Status.
Definition: cat021.h:1062
ast_dataitem_021_150_t ast_dataitem_021_150_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_t ast_dataitem_021_095_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
Data Item - Vertical Rate.
Definition: cat_generic.h:675
void ast_dataitem_021_150_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_emitter_category_t emitter
Definition: cat021.h:182
bool valid
Definition: cat021.h:545
Definition: cat021.h:1053
double report_period
Report period in seconds.
Definition: cat021.h:130
Data Item - Time of Day High Precision.
Definition: cat_generic.h:259
bool mode_s
Definition: cat021.h:1138
ast_dataitem_021_140_t dataitem_021_140
Definition: cat021.h:1589
ast_dataitem_t ast_dataitem_021_A05_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
ast_dataitem_021_008_t ast_dataitem_021_008_decode(const ast_dataitem_t di)
Decode function.
Extracted dataitem.
Definition: dataitem.h:432
Heading.
Definition: type.h:137
ast_dataitem_021_A02_t dataitem_021_130
Definition: cat021.h:1546
ast_dataitem_021_032_t ast_dataitem_021_032_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_021_008_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
void ast_subfield_021_295_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.
unsigned int gva
Definition: cat021.h:492
ast_multi_navi_aids_status_t
Definition: cat021.h:527
Data Item I021/150 - Air Speed.
Definition: cat021.h:845
bool isa_existing
Definition: cat021.h:1332
ast_subfield_type_t
Definition of subfield id in each dataitem.
Definition: subfield.h:53
Implementation of Datarecord concept defined by ASTERIX.
Data Source Identifier (aka SAC/SIC)
Definition: type.h:35
double roa_age
Definition: cat021.h:1381
Definition: cat021.h:1097
Data Item I021/151 - True Air Speed.
Definition: cat021.h:880
int true_airspeed
Definition: cat021.h:884
bool other
Definition: cat021.h:1141
ast_dataitem_time_of_day_t ast_dataitem_021_077_t
Definition: cat021.h:451
void ast_dataitem_021_A06_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool fl_existing
Definition: cat021.h:1328
void ast_subfield_021_110_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get summary of subfield.
double tid_age
Definition: cat021.h:1369
ast_dataitem_t ast_dataitem_021_160_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
void ast_dataitem_021_150_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
Data Item Itrack_number - Track Number.
Definition: cat_generic.h:719
Data Item I021/400 - Receiver ID.
Definition: cat021.h:1429
int raw_heading
Definition: cat021.h:912
void ast_dataitem_021_160_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_dataitem_021_A04_t dataitem_021_131
Definition: cat021.h:1547
size_t ast_dataitem_021_220_get_size(const unsigned char *buffer, const size_t bufsize)
Get size of dataitem.
ast_adsb_sas_type_t
Definition: cat021.h:797
void ast_subfield_021_220_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di, const ast_subfield_type_t type)
Get summary of subfield.
bool diff_correction
Definition: cat021.h:283
double ground_speed
Ground speed, LSB=Kt.
Definition: cat021.h:971
Data Item I021/210 - MOPS Version.
Definition: cat021.h:1102
ast_coordinate_t ast_datarecord_021_get_coordinate(const ast_datarecord_t dr)
Get coordinate function.
double gv_age
Definition: cat021.h:1361
const char * ast_subfield_021_220_get_id(const ast_subfield_type_t type)
Get id string of subfield.
void ast_dataitem_021_140_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
Data Item - Data Source Identifier.
Definition: cat_generic.h:94
ast_datarecord_t ast_datarecord_021_v026_assemble(unsigned char *const buffer, const size_t bufsize, const ast_datarecord_021_v026_t dr, const ast_uap_t uap)
Assemble function.
ast_dataitem_021_008_t dataitem_021_008
Definition: cat021.h:1574
void ast_dataitem_021_230_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
unsigned int sil
Definition: cat021.h:488
double trd_age
Definition: cat021.h:1305
bool valid
Definition: cat021.h:968
bool scc_existing
Definition: cat021.h:1388
bool mh_existing
Definition: cat021.h:1348
bool gv_existing
Definition: cat021.h:1360
ast_dataitem_021_140_t ast_dataitem_021_140_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_021_071_t dataitem_021_071
Definition: cat021.h:1580
void ast_dataitem_021_A05_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool tcas_no_operational
Definition: cat021.h:72
ast_dataitem_time_of_day_t ast_dataitem_021_072_t
Definition: cat021.h:383
void ast_dataitem_021_151_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
void ast_dataitem_021_032_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_emitter_category_t
Definition: cat021.h:154
void ast_dataitem_021_152_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_speed_t ast_datarecord_021_get_speed(const ast_datarecord_t dr)
Get speed function.
ast_dataitem_mode_3a_code_t ast_dataitem_021_070_t
Definition: cat021.h:356
int raw_diff
Definition: cat021.h:228
bool valid
Definition: cat021.h:579
Data Item - Time of Day.
Definition: cat_generic.h:217
bool valid
Definition: cat021.h:1572
ast_dataitem_aircraft_id_t ast_dataitem_021_170_t
Definition: cat021.h:1036
double aos_age
Definition: cat021.h:1301
double qi_age
Definition: cat021.h:1313
bool as_existing
Definition: cat021.h:1340
bool cdti_operational
Definition: cat021.h:71
ast_dataitem_021_020_t dataitem_021_020
Definition: cat021.h:1577
bool valid
Definition: cat021.h:910
bool fixed_transponder
Definition: cat021.h:282
Speed.
Definition: type.h:149
Definition: cat021.h:1096
ast_dataitem_021_160_t ast_dataitem_021_160_decode(const ast_dataitem_t di)
Decode function.
const char * ast_subfield_021_295_get_name(const ast_subfield_type_t type)
Get name of subfield.
ast_acas_status_t
Definition: cat021.h:519
ast_dataitem_021_077_t dataitem_021_077
Definition: cat021.h:1585
bool valid
Definition: cat021.h:770
bool valid
Definition: cat021.h:808
ast_dataitem_021_016_t ast_dataitem_021_016_decode(const ast_dataitem_t di)
Decode function.
size_t ast_dataitem_021_110_get_size(const unsigned char *buffer, const size_t bufsize)
Get size of dataitem.
ast_dataitem_021_A03_t dataitem_021_040
Definition: cat021.h:1541
int pos_accuracy
Definition: cat021.h:550
double isa_age
Definition: cat021.h:1333
void ast_dataitem_021_140_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
void ast_subfield_021_295_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_dataitem_021_130_t dataitem_021_130
Definition: cat021.h:1587
bool indicated_airspeed_valid
Raw speed. For IAS, LSB = 2^-14 NM/s, for mach, LSB = 0.001.
Definition: cat021.h:851
ast_dataitem_021_200_t ast_dataitem_021_200_decode(const ast_dataitem_t di)
Decode function.
bool test
Definition: cat021.h:325
Definition: cat021.h:1056
double mam_age
Definition: cat021.h:1321
bool compact_position_report_validation_failed
Definition: cat021.h:291
bool met_existing
Definition: cat021.h:1376
int vel_accuracy
Definition: cat021.h:581
int raw_angle
Definition: cat021.h:1205
bool version_not_supported
Definition: cat021.h:1106
unsigned int raw_report_period
Raw format as defined in doc, resolution 0.5s.
Definition: cat021.h:131
bool valid
Definition: cat021.h:128
ast_dataitem_target_address_t ast_dataitem_021_080_t
Definition: cat021.h:465
void ast_dataitem_021_146_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
bool valid
Definition: cat021.h:65
ast_acas_status_t acas_status
Definition: cat021.h:547
This file includes the common used data items shares by different categories.
bool range_check_failed
Definition: cat021.h:293
Data Item - Mode S MB Data.
Definition: cat_generic.h:957
ast_adsb_confidence_level_t confidence_level
Definition: cat021.h:288
ast_dataitem_021_132_t dataitem_021_132
Definition: cat021.h:1588
bool valid
Definition: cat021.h:180
int raw_ground_speed
Ground speed, LSB=2^-14 NM/S ~= 0.22 Kt.
Definition: cat021.h:970
ast_dataitem_021_152_t ast_dataitem_021_152_decode(const ast_dataitem_t di)
Decode function.
Definition: cat021.h:1058
Data Item I021/271 - Surface Capabilities and Characteristics.
Definition: cat021.h:1242
ast_dataitem_021_020_t dataitem_021_020
Definition: cat021.h:1539
bool valid
Definition: cat021.h:742
const char * ast_subfield_021_295_get_id(const ast_subfield_type_t type)
Get id string of subfield.
unsigned int id
Definition: cat021.h:1433
bool valid
Definition: cat021.h:1104
ast_dataitem_service_id_t ast_dataitem_021_015_t
Definition: cat021.h:111
void ast_subfield_021_110_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.
int raw_altitude
! Altitude LSB=6.25ft Range=-1,500ft~150,000ft
Definition: cat021.h:744
void ast_dataitem_021_A03_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
unsigned int nuc_p
Definition: cat021.h:486
int raw_speed
Definition: cat021.h:849
double met_age
Definition: cat021.h:1377
Data Item - Service Identification.
Definition: cat_generic.h:134
bool valid
Definition: cat021.h:1431
int selected_altitude
Altitude in two’s complement form, LSB=25ft, -1300ft <= Altitude <= 100000ft.
Definition: cat021.h:812
void ast_dataitem_021_400_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_icaoaddr_t ast_datarecord_021_get_icaoaddr(const ast_datarecord_t dr)
Get ICAO 24-bit address function.
Definition: cat021.h:1095
double bvr_age
Definition: cat021.h:1353
bool gvr_existing
Definition: cat021.h:1356
bool spi
Definition: cat021.h:328
bool valid
Definition: cat021.h:320
void ast_dataitem_021_160_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool cdti
Definition: cat021.h:1137
ast_adsb_addr_type_t addr_type
Definition: cat021.h:279
ast_adsb_addr_type_t
Definition: cat021.h:250
bool mam_existing
Definition: cat021.h:1320
Subfield struct.
Definition: subfield.h:293
bool avr_report_capability
Definition: cat021.h:70
ast_datarecord_t ast_datarecord_021_v24_assemble(unsigned char *const buffer, const size_t bufsize, const ast_datarecord_021_v24_t dr, const ast_uap_t uap)
Assemble function.
Data Record I021 v2.4 - ADS-B Target Reports.
Definition: cat021.h:1570
size_t n_subfields
Definition: cat021.h:1297
ast_heading_t ast_datarecord_021_get_heading(const ast_datarecord_t dr)
Get heading function.
ast_dataitem_time_of_day_high_t ast_dataitem_021_074_t
Definition: cat021.h:410
ast_adsb_emergeny_type_t emergency
Definition: cat021.h:1066
ast_dataitem_time_of_day_high_t ast_dataitem_021_076_t
Definition: cat021.h:437
ast_dataitem_021_145_t dataitem_021_145
Definition: cat021.h:1548
void ast_dataitem_021_200_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
void ast_dataitem_021_040_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
unsigned int pic
Definition: cat021.h:493
ast_ac_trajectory_report_capability_t trajectory_report_capability
Definition: cat021.h:68
Data Record I021 v0.26 - ADS-B Messages.
Definition: cat021.h:1534
void ast_dataitem_021_016_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
Data Item I021/020 - Emitter Category.
Definition: cat021.h:178
ast_dataitem_position_wgs84_t ast_dataitem_021_A02_t
Definition: cat021.h:657
bool valid
Definition: cat021.h:1244
bool simulated
Definition: cat021.h:324
ast_dataitem_021_A03_t ast_dataitem_021_A03_decode(const ast_dataitem_t di)
Decode function.
ast_msgtype_t ast_datarecord_021_get_msgtype(const ast_datarecord_t dr)
Get message type function.
Data Item I021/160 - Airborne Ground Vector.
Definition: cat021.h:966
double tar_age
Definition: cat021.h:1365
ast_adsb_sas_type_t source_type
Definition: cat021.h:811
bool test
Definition: cat021.h:286
ast_dataitem_021_095_t ast_dataitem_021_095_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_021_070_t dataitem_021_070
Definition: cat021.h:1542
bool valid
Definition: cat021.h:226
bool trd_existing
Definition: cat021.h:1304
bool valid
Definition: cat021.h:1536
Data Item I021/095 - Velocity Accuracy.
Definition: cat021.h:577
ast_dataitem_021_210_t ast_dataitem_021_210_decode(const ast_dataitem_t di)
Decode function.
size_t ast_subfield_021_110_get_size(const unsigned char *buffer, const size_t bufsize, const ast_subfield_type_t type)
Get size of subfield.
ast_adsb_addr_type_t addr_type
Definition: cat021.h:329
Data Item - Position in WGS84 Coordinates.
Definition: cat_generic.h:340
unsigned int sil_s
Definition: cat021.h:490
ast_datarecord_021_v026_t ast_datarecord_021_v026_disassemble(const ast_datarecord_t dr)
Disassemble function.
ast_dataitem_021_095_t dataitem_021_095
Definition: cat021.h:1545
bool gh_existing
Definition: cat021.h:1324
bool selected_altitude_capability
Definition: cat021.h:327
double fl_age
Definition: cat021.h:1329
ast_dataitem_021_073_t dataitem_021_073
Definition: cat021.h:1582
double heading
Magnetic heading, LSB = 360/2^16 ~= 0.0055 deg.
Definition: cat021.h:913
bool valid
Definition: cat021.h:277
ast_dataitem_021_295_t ast_dataitem_021_295_decode(const ast_dataitem_t di)
bool tid_existing
Definition: cat021.h:1368
double gh_age
Definition: cat021.h:1325
bool vdl4
Definition: cat021.h:1140
bool roa_existing
Definition: cat021.h:1380
double mach
Definition: cat021.h:855
const char * ast_dataitem_021_get_name(const ast_dataitem_type_t type)
Get name function.
ast_dataitem_021_074_t dataitem_021_074
Definition: cat021.h:1583
double ts_age
Definition: cat021.h:1373
bool diff_correction
Definition: cat021.h:322
void ast_dataitem_021_145_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool uat
Definition: cat021.h:1139
ast_dataitem_021_271_t ast_dataitem_021_271_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_021_020_t ast_dataitem_021_020_decode(const ast_dataitem_t di)
Decode function.
Squawk (aka Mode-3/A Code)
Definition: type.h:80
bool nogo
Definition: cat021.h:290
const char * ast_subfield_021_110_get_id(const ast_subfield_type_t type)
Get id string of subfield.
ast_dataitem_vertical_rate_t ast_dataitem_021_157_t
Definition: cat021.h:951
bool independent_position_check_failed
Definition: cat021.h:289
double fsa_age
Definition: cat021.h:1337
ast_dataitem_021_080_t dataitem_021_080
Definition: cat021.h:1543
Implementation of Dataitem concept defined by ASTERIX.
ast_diff_correction_status_t diff_correction_status
Definition: cat021.h:549
ast_dataitem_021_090_t ast_dataitem_021_090_decode(const ast_dataitem_t di)
Decode function.
double ti_age
Definition: cat021.h:1317
ast_dataitem_021_030_t dataitem_021_030
Definition: cat021.h:1540
Data Item I021/295 - Data Ages.
Definition: cat021.h:1292
double track_angle
Track angle, LSB=DEG.
Definition: cat021.h:974
ast_altitude_t ast_datarecord_021_get_flightlevel(const ast_datarecord_t dr)
Get flight level function.
bool simulated
Definition: cat021.h:285
ast_dataitem_vertical_rate_t ast_dataitem_021_155_t
Definition: cat021.h:937
void ast_dataitem_021_A06_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
bool fixed_transponder
Definition: cat021.h:326
ast_dataitem_data_source_identifier_t ast_dataitem_021_010_t
Definition: cat021.h:96
double ara_age
Definition: cat021.h:1385
ast_dataitem_t ast_dataitem_021_020_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
Data Item I021/032 - Time of Day Accuracy.
Definition: cat021.h:224
unsigned int version
Definition: cat021.h:1107
void ast_dataitem_021_210_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
Data Item - Target Address.
Definition: cat_generic.h:799
bool source_provided
Definition: cat021.h:810
bool valid
Definition: cat021.h:847
ast_dataitem_021_160_t dataitem_021_160
Definition: cat021.h:1549
const char * ast_subfield_021_220_get_name(const ast_subfield_type_t type)
Get name of subfield.
bool ti_existing
Definition: cat021.h:1316
void ast_dataitem_021_146_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool aos_existing
Definition: cat021.h:1300
bool ts_existing
Definition: cat021.h:1372
void ast_dataitem_021_A05_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
Data Item I021/145 - Flight Level.
Definition: cat021.h:768
ast_dataitem_021_146_t ast_dataitem_021_146_decode(const ast_dataitem_t di)
Decode function.
ast_dataitem_021_170_t dataitem_021_170
Definition: cat021.h:1550
void ast_dataitem_021_145_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_dataitem_021_015_t dataitem_021_015
Definition: cat021.h:1576
Definition: cat021.h:1057
ast_datarecord_021_v24_t ast_datarecord_021_v24_disassemble(const ast_datarecord_t dr)
Disassemble function.
void ast_dataitem_021_032_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
bool ground
Definition: cat021.h:284
ast_adsb_altitude_capability_t altitude_capability
Definition: cat021.h:330
bool range_check
Definition: cat021.h:281
int raw_level
Flight level without QNH correction, LSB=1/4FL.
Definition: cat021.h:772
void ast_subfield_021_220_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.
Dataitem.
Definition: dataitem.h:421
Definition: cat021.h:1098
ast_dataitem_t ast_dataitem_021_145_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
ast_dataitem_signal_amplitude_t ast_dataitem_021_132_t
Data Item I021/132 - Message Amplitude.
Definition: cat021.h:714
ast_dataitem_021_A06_t ast_dataitem_021_A06_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_021_A03_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_dataitem_021_170_t dataitem_021_170
Definition: cat021.h:1593
ast_dataitem_021_010_t dataitem_021_010
Definition: cat021.h:1538
ast_dataitem_021_230_t ast_dataitem_021_230_decode(const ast_dataitem_t di)
Decode function.
double mh_age
Definition: cat021.h:1349
ast_dataitem_021_271_t ast_dataitem_021_A07_decode(const ast_dataitem_t di)
Decode function.
ast_callsign_t ast_datarecord_021_get_callsign(const ast_datarecord_t dr)
Get callsign function.
Data Item - Mode-3/A Code in Octal Representation.
Definition: cat_generic.h:475
bool tas_existing
Definition: cat021.h:1344
bool valid
Definition: cat021.h:483
void ast_dataitem_021_095_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
Data Item I021/008 - Aircraft Operational Status.
Definition: cat021.h:63
bool ara_existing
Definition: cat021.h:1384
size_t ast_subfield_021_295_get_size(const unsigned char *buffer, const size_t bufsize, const ast_subfield_type_t type)
Get size of subfield.
bool valid
Definition: cat021.h:882
ast_dataitem_021_070_t dataitem_021_070
Definition: cat021.h:1579
ast_dataitem_021_145_t ast_dataitem_021_145_decode(const ast_dataitem_t di)
Decode function.
Callsign.
Definition: type.h:89
ast_dataitem_type_t
Definition of data item id in each category.
Definition: dataitem.h:67
ast_dataitem_signal_amplitude_t ast_dataitem_021_A04_t
Data Item I021/131 - Signal Amplitude.
Definition: cat021.h:688
ast_dataitem_021_161_t dataitem_021_161
Definition: cat021.h:1592
bool fsa_existing
Definition: cat021.h:1336
ast_dataitem_021_200_t dataitem_021_200
Definition: cat021.h:1551
Definition: cat021.h:1094
unsigned int sda
Definition: cat021.h:491
bool ground
Definition: cat021.h:323
#define AST_MAX_SUBFIELDS
Definition: subfield.h:363
bool valid
Definition: cat021.h:1203
WGS-84 2D Coordinate.
Definition: type.h:103
Definition: cat021.h:1054
Data Item - Signal Amplitude.
Definition: cat_generic.h:919
ast_dataitem_time_of_day_t ast_dataitem_021_073_t
Definition: cat021.h:396
Data Item I021/146 - Selected Altitude.
Definition: cat021.h:806
Time of day.
Definition: type.h:43
ast_dataitem_021_080_t dataitem_021_080
Definition: cat021.h:1586
ast_dataitem_021_A05_t ast_dataitem_021_A05_decode(const ast_dataitem_t di)
Decode function.
Data Item I021/090 - Quality Indicators.
Definition: cat021.h:481
void ast_dataitem_021_152_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_dataitem_021_075_t dataitem_021_075
Definition: cat021.h:1584
bool valid
Definition: cat021.h:1135
void ast_dataitem_021_210_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
ast_adsb_altitude_capability_t altitude_capability
Definition: cat021.h:280
size_t ast_dataitem_021_295_get_size(const unsigned char *buffer, const size_t bufsize)
Get size of dataitem.
bool single_antenna
Definition: cat021.h:73
const char * ast_subfield_021_110_get_name(const ast_subfield_type_t type)
Get name of subfield.
void ast_dataitem_021_151_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get Summary function.
Data Item I021/A06 - Link Technology Indicator.
Definition: cat021.h:1133
double as_age
Definition: cat021.h:1341
ast_dataitem_track_number_t ast_dataitem_021_161_t
Data Item I021/161 - Track Number.
Definition: cat021.h:1001
ast_dataitem_021_040_t ast_dataitem_021_040_decode(const ast_dataitem_t di)
Decode function.
Data Item I021/152 - Magnetic Heading.
Definition: cat021.h:908
bool local_decoding_position_jump_detected
Definition: cat021.h:292
ast_dataitem_021_145_t dataitem_021_145
Definition: cat021.h:1590
ast_dataitem_021_040_t dataitem_021_040
Definition: cat021.h:1578
ast_dataitem_time_of_day_t ast_dataitem_021_071_t
Definition: cat021.h:370
unsigned int nuc_r
Definition: cat021.h:485
ast_multi_navi_aids_status_t multi_navi_aids_status
Definition: cat021.h:548
Data Item - Target Identification.
Definition: cat_generic.h:838
Datarecord.
Definition: datarecord.h:41
ast_diff_correction_status_t
Definition: cat021.h:535
bool valid
Definition: cat021.h:1294
ast_dataitem_021_151_t ast_dataitem_021_151_decode(const ast_dataitem_t di)
Decode function.
size_t ast_dataitem_021_A07_get_size(const unsigned char *buffer, const size_t bufsize)
Get size function.
double gvr_age
Definition: cat021.h:1357
bool target_state_report_capability
Definition: cat021.h:69
Definition: cat021.h:1055
int raw_track_angle
Track angle, LSB=360/2^16 DEG ~= 0.0055 DEG.
Definition: cat021.h:973
void ast_dataitem_021_040_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
bool tar_existing
Definition: cat021.h:1364
ast_ac_trajectory_report_capability_t
Definition: cat021.h:55
ast_dataitem_021_400_t ast_dataitem_021_400_decode(const ast_dataitem_t di)
Decode function.
void ast_dataitem_021_020_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
Data Item - Position in WGS84 Coordinates (Low Reslution)
Definition: cat_generic.h:297
ast_dataitem_021_010_t dataitem_021_010
Definition: cat021.h:1575
bool no_selected_altitude
Definition: cat021.h:287
ast_adsb_link_type_t link_type
Definition: cat021.h:1108
ast_adsb_link_type_t
Definition: cat021.h:1092
void ast_dataitem_021_090_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Encode function.
ast_dataitem_021_A05_t dataitem_021_090
Definition: cat021.h:1544
double m3a_age
Definition: cat021.h:1309
void ast_dataitem_021_008_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ast_adsb_emergeny_type_t
Definition: cat021.h:1051
ast_tracknum_t ast_datarecord_021_get_tracknum(const ast_datarecord_t dr)
Get track number function.
double tas_age
Definition: cat021.h:1345
Data Item I021/016 - Service Management.
Definition: cat021.h:126
size_t ast_subfield_021_220_get_size(const unsigned char *buffer, const size_t bufsize, const ast_subfield_type_t type)
Get size of subfield.
ast_dataitem_t ast_dataitem_021_A03_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
bool bvr_existing
Definition: cat021.h:1352
ast_dataitem_modes_mb_t ast_dataitem_021_250_t
Definition: cat021.h:1228
bool qi_existing
Definition: cat021.h:1312
Data Item I021/140 - Geometric Altitude.
Definition: cat021.h:740
bool valid
Definition: cat021.h:1064
bool mach_valid
IAS, LSB = Knot.
Definition: cat021.h:854
void ast_dataitem_021_020_get_summary(char *summary, const size_t summary_size, const ast_dataitem_t di)
Get summary function.
ast_adsb_confidence_level_t
Definition: cat021.h:267
ast_dataitem_time_of_day_t ast_dataitem_021_075_t
Definition: cat021.h:424
ast_timeofday_t ast_datarecord_021_get_timeofday(const ast_datarecord_t dr)
Get time of day function.
ast_dataitem_t ast_dataitem_021_200_encode(unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
Encode function.
Implementation of Subfield concept defined by ASTERIX.
bool tcas_ra_active
Definition: cat021.h:67
unsigned int nac_p
Definition: cat021.h:489
Data Item I021/230 - Roll Angle.
Definition: cat021.h:1201
ast_dataitem_position_wgs84_low_t ast_dataitem_021_130_t
Definition: cat021.h:642
void ast_dataitem_021_090_get_detail_html(char *detail, const size_t detail_size, const ast_dataitem_t di)
Get detail function.
ICAO 24-bit Address.
Definition: type.h:96
double scc_age
Definition: cat021.h:1389
ast_dataitem_time_of_day_t ast_dataitem_021_030_t
Definition: cat021.h:208
Track Number.
Definition: type.h:73
double indicated_airspeed
Definition: cat021.h:852
unsigned int nic_baro
Definition: cat021.h:487
ast_squawk_t ast_datarecord_021_get_squawk(const ast_datarecord_t dr)
Get Mode-3/A code function.