cat_generic.h File Reference

This file includes the common used data items shares by different categories. More...

#include "dataitem.h"
#include "bds.h"
Include dependency graph for cat_generic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_dataitem_message_type_t
 Data Item - Message Type. More...
 
struct  ast_dataitem_data_source_identifier_t
 Data Item - Data Source Identifier. More...
 
struct  ast_dataitem_service_id_t
 Data Item - Service Identification. More...
 
struct  ast_dataitem_sector_number_t
 Data Item - Sector Number. More...
 
struct  ast_dataitem_time_of_day_t
 Data Item - Time of Day. More...
 
struct  ast_dataitem_time_of_day_high_t
 Data Item - Time of Day High Precision. More...
 
struct  ast_dataitem_position_wgs84_low_t
 Data Item - Position in WGS84 Coordinates (Low Reslution) More...
 
struct  ast_dataitem_position_wgs84_t
 Data Item - Position in WGS84 Coordinates. More...
 
struct  ast_dataitem_position_cartesian_t
 Data Item - Position in Cartesian Coordinates. More...
 
struct  ast_dataitem_velocity_cartesian_t
 Data Item - Calculated Track Velocity in Cartesian Coordinates. More...
 
struct  ast_dataitem_mode_3a_code_t
 Data Item - Mode-3/A Code in Octal Representation. More...
 
struct  ast_dataitem_mode_3a_confidence_t
 Data Item - Mode-3/A Code Confidence Indicator. More...
 
struct  ast_dataitem_mode_c_code_t
 Data Item - Mode-C Code. More...
 
struct  ast_dataitem_mode_c_confidence_t
 Data Item - Mode-C Code and Code Confidence Indicator. More...
 
struct  ast_dataitem_height_t
 Data Item - Height. More...
 
struct  ast_dataitem_vertical_rate_t
 Data Item - Vertical Rate. More...
 
struct  ast_dataitem_track_number_t
 Data Item Itrack_number - Track Number. More...
 
struct  ast_dataitem_velocity_polar_t
 Data Item - Calculated Track Track Velocity in Polar Co-ordinates. More...
 
struct  ast_dataitem_target_address_t
 Data Item - Target Address. More...
 
struct  ast_dataitem_aircraft_id_t
 Data Item - Target Identification. More...
 
struct  ast_dataitem_target_id_t
 Data Item - Target Identification. More...
 
struct  ast_dataitem_signal_amplitude_t
 Data Item - Signal Amplitude. More...
 
struct  ast_dataitem_modes_mb_t
 Data Item - Mode S MB Data. More...
 
struct  ast_dataitem_video_header_t
 Data Item - Video Header. More...
 

Macros

#define ast_dataitem_message_type_get_size   ast_dataitem_get_size_fixed_1_byte
 Get size function. More...
 
#define ast_dataitem_data_source_identifier_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_service_id_get_size   ast_dataitem_get_size_fixed_1_byte
 Get size function. More...
 
#define ast_dataitem_service_id_get_detail_html   ast_dataitem_get_detail_html_dummy;
 Get detail function. More...
 
#define ast_dataitem_sector_number_get_size   ast_dataitem_get_size_fixed_1_byte
 Get size function. More...
 
#define ast_dataitem_time_of_day_get_size   ast_dataitem_get_size_fixed_3_byte
 Get size function. More...
 
#define ast_dataitem_time_of_day_high_get_size   ast_dataitem_get_size_fixed_4_byte
 Get size function. More...
 
#define ast_dataitem_position_wgs84_low_get_size   ast_dataitem_get_size_fixed_6_byte
 Get size function. More...
 
#define ast_dataitem_position_wgs84_get_size   ast_dataitem_get_size_fixed_8_byte
 Get size function. More...
 
#define ast_dataitem_position_cartesian_get_size   ast_dataitem_get_size_fixed_6_byte
 Get size function. More...
 
#define ast_dataitem_position_cartesian_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_velocity_cartesian_get_size   ast_dataitem_get_size_fixed_4_byte;
 Get size function. More...
 
#define ast_dataitem_velocity_cartesian_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_mode_2_code_get_size   ast_dataitem_get_size_fixed_2_byte
 
#define ast_dataitem_mode_3a_code_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_mode_3a_confidence_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_mode_c_code_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_mode_c_confidence_get_size   ast_dataitem_get_size_fixed_4_byte
 Get size function. More...
 
#define ast_dataitem_height_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_vertical_rate_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_track_number_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_track_number_get_detail_html   ast_dataitem_get_detail_html_dummy;
 Get detail function. More...
 
#define ast_dataitem_velocity_polar_get_size   ast_dataitem_get_size_fixed_4_byte
 Get size function. More...
 
#define ast_dataitem_target_address_get_size   ast_dataitem_get_size_fixed_3_byte
 Get size function. More...
 
#define ast_dataitem_aircraft_id_get_size   ast_dataitem_get_size_fixed_6_byte
 Get size function. More...
 
#define ast_dataitem_target_id_get_size   ast_dataitem_get_size_fixed_7_byte
 Get size function. More...
 
#define ast_dataitem_signal_amplitude_get_size   ast_dataitem_get_size_fixed_1_byte
 Get size function. More...
 
#define ast_dataitem_signal_amplitude_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_modes_mb_get_size   ast_dataitem_get_size_rep_8_byte
 Get size function. More...
 
#define ast_dataitem_video_header_get_size   ast_dataitem_get_size_fixed_12_byte
 Get size function. More...
 
#define ast_dataitem_reserved_expansion_field_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_special_purpose_field_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 

Enumerations

enum  ast_target_id_type_t { AST_TARGET_ID_UNKNOWN, AST_TARGET_ID_REGISTRATION, AST_TARGET_ID_CALLSIGN, AST_TARGET_ID_UNDIFINED }
 Target identification type. More...
 

Functions

ast_dataitem_message_type_t ast_dataitem_message_type_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_message_type_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
ast_dataitem_data_source_identifier_t ast_dataitem_data_source_identifier_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_data_source_identifier_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_data_source_identifier_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_data_source_identifier_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_service_id_t ast_dataitem_service_id_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_service_id_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_service_id_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_dataitem_sector_number_t ast_dataitem_sector_number_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_sector_number_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_sector_number_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary funciton. More...
 
void ast_dataitem_sector_number_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail funciton. More...
 
ast_dataitem_time_of_day_t ast_dataitem_time_of_day_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_time_of_day_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_time_of_day_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary funciton. More...
 
void ast_dataitem_time_of_day_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_time_of_day_high_t ast_dataitem_time_of_day_high_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_time_of_day_high_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Encode function. More...
 
void ast_dataitem_time_of_day_high_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_position_wgs84_low_t ast_dataitem_position_wgs84_low_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_position_wgs84_low_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_position_wgs84_low_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_position_wgs84_low_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_position_wgs84_t ast_dataitem_position_wgs84_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_position_wgs84_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_position_wgs84_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_position_wgs84_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_position_cartesian_t ast_dataitem_position_cartesian_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_position_cartesian_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_dataitem_velocity_cartesian_t ast_dataitem_velocity_cartesian_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_velocity_cartesian_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary funciton. More...
 
ast_dataitem_mode_3a_code_t ast_dataitem_mode_3a_code_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_mode_3a_code_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_mode_3a_code_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_mode_3a_code_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_mode_3a_confidence_t ast_dataitem_mode_3a_confidence_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_mode_3a_confidence_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_mode_3a_confidence_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_mode_c_code_t ast_dataitem_mode_c_code_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_mode_c_code_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_mode_c_code_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_mode_c_code_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_mode_c_confidence_t ast_dataitem_mode_c_confidence_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_mode_c_confidence_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_mode_c_confidence_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_height_t ast_dataitem_height_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_height_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get Summary function. More...
 
void ast_dataitem_height_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_vertical_rate_t ast_dataitem_vertical_rate_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_vertical_rate_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_vertical_rate_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get Summary function. More...
 
void ast_dataitem_vertical_rate_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_track_number_t ast_dataitem_track_number_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_track_number_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_track_number_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_dataitem_velocity_polar_t ast_dataitem_velocity_polar_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_velocity_polar_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_velocity_polar_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_velocity_polar_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_target_address_t ast_dataitem_target_address_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_target_address_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_target_address_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_target_address_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_aircraft_id_t ast_dataitem_aircraft_id_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_aircraft_id_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_aircraft_id_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get Summary function. More...
 
void ast_dataitem_aircraft_id_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_target_id_t ast_dataitem_target_id_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_target_id_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_target_id_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_signal_amplitude_t ast_dataitem_signal_amplitude_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_signal_amplitude_encode (unsigned char *buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_signal_amplitude_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get Summary function. More...
 
ast_dataitem_modes_mb_t ast_dataitem_modes_mb_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_modes_mb_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_modes_mb_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
void ast_dataitem_binary_data_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 
size_t ast_dataitem_reserved_expansion_field_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size function. More...
 
void ast_dataitem_reserved_expansion_field_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
size_t ast_dataitem_special_purpose_field_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size function. More...
 
void ast_dataitem_special_purpose_field_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get Summary function. More...
 

Detailed Description

This file includes the common used data items shares by different categories.

For example, the IXXX/010 normally is the SAC/SIC with the same encoding rule.

Macro Definition Documentation

◆ ast_dataitem_mode_2_code_get_size

#define ast_dataitem_mode_2_code_get_size   ast_dataitem_get_size_fixed_2_byte

Data Item IXXX/050 - Mode-2 Code in Octal Representation

Used by: I001/050 I020/050