cat034.h File Reference

ASTERIX CAT034 - Monoradar Service Messages. More...

#include "dataitem.h"
#include "datarecord.h"
#include "cat_generic.h"
#include "subfield.h"
Include dependency graph for cat034.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_034_050_t
 Data Item I034/050 - System Configuration and Status. More...
struct  ast_dataitem_034_060_t
 Data Item I034/060 - System Processing Mode. More...
struct  ast_counter_t
 Counter entry. More...
struct  ast_dataitem_034_070_t
 Data Item I034/070 - Message Count Values. More...
struct  ast_dataitem_034_090_t
 Data Item I034/090 - Collimation Error. More...
struct  ast_dataitem_034_110_t
 Data Item I034/110 - Data Filter. More...
struct  ast_dataitem_034_120_t
 Data Item I034/120 - 3D-Position Of Data Source. More...
struct  ast_datarecord_034_t
 Data Record I034 - Monoradar Service Messages. More...

Macros

#define ast_dataitem_034_000_get_size   ast_dataitem_message_type_get_size
 Get size function for I034/000.
#define ast_dataitem_034_000_decode   ast_dataitem_message_type_decode
 Decode function for I034/000.
#define ast_dataitem_034_000_encode   ast_dataitem_message_type_encode
 Encode function for I034/000.
#define ast_dataitem_034_000_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function for I034/000.
#define ast_dataitem_034_010_get_size   ast_dataitem_data_source_identifier_get_size
 Get size function for I034/010.
#define ast_dataitem_034_010_decode   ast_dataitem_data_source_identifier_decode
 Decode function for I034/010.
#define ast_dataitem_034_010_encode   ast_dataitem_data_source_identifier_encode
 Encode function for I034/010.
#define ast_dataitem_034_010_get_summary   ast_dataitem_data_source_identifier_get_summary
 Get summary function for I034/010.
#define ast_dataitem_034_010_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 Get detail function for I034/010.
#define ast_dataitem_034_020_get_size   ast_dataitem_sector_number_get_size
 Get size function for I034/020.
#define ast_dataitem_034_020_decode   ast_dataitem_sector_number_decode
 Decode function for I034/020.
#define ast_dataitem_034_020_encode   ast_dataitem_sector_number_encode
 Encode function for I034/020.
#define ast_dataitem_034_020_get_summary   ast_dataitem_sector_number_get_summary
 Get summary function for I034/020.
#define ast_dataitem_034_020_get_detail_html   ast_dataitem_sector_number_get_detail_html
 Get detail function for I034/020.
#define ast_dataitem_034_030_get_size   ast_dataitem_time_of_day_get_size
 Get size function for I034/030.
#define ast_dataitem_034_030_decode   ast_dataitem_time_of_day_decode
 Decode function for I034/030.
#define ast_dataitem_034_030_encode   ast_dataitem_time_of_day_encode
 Encode function for I034/030.
#define ast_dataitem_034_030_get_summary   ast_dataitem_time_of_day_get_summary
 Get summary function for I034/030.
#define ast_dataitem_034_030_get_detail_html   ast_dataitem_time_of_day_get_detail_html
 Get detail function for I034/030.
#define ast_dataitem_034_041_get_size   ast_dataitem_antenna_rotation_period_get_size
 Get size function for I034/041.
#define ast_dataitem_034_041_decode   ast_dataitem_antenna_rotation_period_decode
 Decode function for I034/041.
#define ast_dataitem_034_041_encode   ast_dataitem_antenna_rotation_period_encode
 Encode function for I034/041.
#define ast_dataitem_034_041_get_summary   ast_dataitem_antenna_rotation_period_get_summary
 Get summary function for I034/041.
#define ast_dataitem_034_041_get_detail_html   ast_dataitem_antenna_rotation_period_get_detail_html
 Get detail function.
#define ast_dataitem_034_050_get_summary   ast_dataitem_subfields_get_summary
 Get summary function for I034/050.
#define ast_dataitem_034_050_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail function for I034/050.
#define ast_dataitem_034_060_get_summary   ast_dataitem_subfields_get_summary
 Get summary function for I034/060.
#define ast_dataitem_034_060_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail function for I034/060.
#define AST_MAX_COUNTERS   16
 Maximum number of message counters.
#define ast_dataitem_034_070_get_size   ast_dataitem_get_size_rep_2_byte
 Get size function for I034/070.
#define ast_dataitem_034_090_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function for I034/090.
#define ast_dataitem_034_110_get_size   ast_dataitem_get_size_fixed_1_byte
 Get size function for I034/110.
#define ast_dataitem_034_120_get_size   ast_dataitem_get_size_fixed_8_byte
 Get size function for I034/120.
#define ast_dataitem_034_SPF_get_size   ast_dataitem_special_purpose_field_get_size
 Get size function.
#define ast_dataitem_034_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary
 Decode function.
#define ast_dataitem_034_SPF_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function.
#define ast_dataitem_034_REF_get_size   ast_dataitem_reserved_expansion_field_get_size
 Get size function.
#define ast_dataitem_034_REF_get_summary   ast_dataitem_reserved_expansion_field_get_summary
 Get Summary function.
#define ast_dataitem_034_REF_get_detail_html   ast_dataitem_reserved_expansion_field_get_detail_html
 Get detail function.

Typedefs

typedef ast_dataitem_message_type_t ast_dataitem_034_000_t
 Data Item I034/000 - Message Type.
typedef ast_dataitem_data_source_identifier_t ast_dataitem_034_010_t
 Data Item I034/010 - Data Source Identifier.
typedef ast_dataitem_sector_number_t ast_dataitem_034_020_t
 Data Item I034/020 - Sector Number.
typedef ast_dataitem_time_of_day_t ast_dataitem_034_030_t
 Data Item I034/030 - Time of Day.
typedef ast_dataitem_antenna_rotation_period_t ast_dataitem_034_041_t
 Data Item I034/041 - Antenna Rotation Speed.

Enumerations

enum  ast_service_message_type_t { AST_MODES_MESSAGE_NORTH_MARKER = 1 , AST_MODES_MESSAGE_SECTOR_CROSSING = 2 , AST_MODES_MESSAGE_GEO_FILTERING = 3 , AST_MODES_MESSAGE_JAMMING_STROBE = 4 }
 Message Type for CAT034 service messages. More...
enum  ast_ssr_channel_selection_t { AST_SSR_CHANNEL_SELECT_NO = 0 , AST_SSR_CHANNEL_SELECT_1 = 1 , AST_SSR_CHANNEL_SELECT_2 = 2 , AST_SSR_CHANNEL_SELECT_INVALID = 3 }
 SSR Channel Selection. More...
enum  ast_psr_polarization_t { AST_PSR_POLARIZATION_LINEAR = 0 , AST_PSR_POLARIZATION_CIRCULAR = 1 }
 PSR Polarization. More...
enum  ast_reduction_step_t {
  AST_REDUCTION_NO = 0 , AST_REDUCTION_STEP_1 , AST_REDUCTION_STEP_2 , AST_REDUCTION_STEP_3 ,
  AST_REDUCTION_STEP_4 , AST_REDUCTION_STEP_5 , AST_REDUCTION_STEP_6 , AST_REDUCTION_STEP_7
}
 Reduction Step. More...
enum  ast_counter_type_t {
  AST_COUNTER_NO_DETECTION = 0 , AST_COUNTER_PSR = 1 , AST_COUNTER_SSR = 2 , AST_COUNTER_SSR_PSR = 3 ,
  AST_COUNTER_ALL_CALL = 4 , AST_COUNTER_ROLL_CALL = 5 , AST_COUNTER_ALL_CALL_PSR = 6 , AST_COUNTER_ROLL_CALL_PSR = 7 ,
  AST_COUNTER_FLT_WX = 8 , AST_COUNTER_FLT_JAM = 9 , AST_COUNTER_FLT_PSR = 10 , AST_COUNTER_FLT_SSR = 11 ,
  AST_COUNTER_FLT_SSR_PSR = 12 , AST_COUNTER_FLT_EHS = 13 , AST_COUNTER_FLT_PSR_EHS = 14 , AST_COUNTER_FLT_OUT_AOI = 15 ,
  AST_COUNTER_FLT_PSR_EHS_SSR = 16
}
 Counter Type for Message Count Values. More...
enum  ast_data_filter_type_t {
  AST_DATA_FILTER_INVALID = 0 , AST_DATA_FILTER_WEATHER = 1 , AST_DATA_FILTER_JAMMING = 2 , AST_DATA_FILTER_PSR = 3 ,
  AST_DATA_FILTER_SSR = 4 , AST_DATA_FILTER_SSR_PSR = 5 , AST_DATA_FILTER_EHS = 6 , AST_DATA_FILTER_PSR_EHS = 7 ,
  AST_DATA_FILTER_PSR_EHS_OUT_AOI = 8 , AST_DATA_FILTER_PSR_EHS_ALL = 9
}
 Data Filter Type. More...

Functions

const char * ast_dataitem_034_get_name (const ast_dataitem_type_t type)
 Get name function.
void ast_dataitem_034_000_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I034/000.
size_t ast_dataitem_034_050_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size function for I034/050.
ast_dataitem_034_050_t ast_dataitem_034_050_decode (const ast_dataitem_t di)
 Decode function for I034/050.
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 I034/050 subfield.
const char * ast_subfield_034_050_get_id (const ast_subfield_type_t type)
 Get ID string of I034/050 subfield.
const char * ast_subfield_034_050_get_name (const ast_subfield_type_t type)
 Get name of I034/050 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.
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.
size_t ast_dataitem_034_060_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size function for I034/060.
ast_dataitem_034_060_t ast_dataitem_034_060_decode (const ast_dataitem_t di)
 Decode function for I034/060.
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 I034/060 subfield.
const char * ast_subfield_034_060_get_id (const ast_subfield_type_t type)
 Get ID string of I034/060 subfield.
const char * ast_subfield_034_060_get_name (const ast_subfield_type_t type)
 Get name of I034/060 subfield.
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 I034/060 subfield.
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 of I034/060 subfield.
ast_dataitem_034_070_t ast_dataitem_034_070_decode (const ast_dataitem_t di)
 Decode function for I034/070.
void ast_dataitem_034_070_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I034/070.
void ast_dataitem_034_070_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function for I034/070.
ast_dataitem_034_090_t ast_dataitem_034_090_decode (const ast_dataitem_t di)
 Decode function for I034/090.
void ast_dataitem_034_090_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I034/090.
void ast_dataitem_034_090_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function for I034/090.
ast_dataitem_034_110_t ast_dataitem_034_110_decode (const ast_dataitem_t di)
 Decode function for I034/110.
void ast_dataitem_034_110_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I034/110.
void ast_dataitem_034_110_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function for I034/110.
ast_dataitem_034_120_t ast_dataitem_034_120_decode (const ast_dataitem_t di)
 Decode function for I034/120.
void ast_dataitem_034_120_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function for I034/120.
void ast_dataitem_034_120_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function for I034/120.
ast_datarecord_034_t ast_datarecord_034_disassemble (const ast_datarecord_t dr)
 Disassemble CAT034 data record.
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 CAT034 data record.

Detailed Description

ASTERIX CAT034 - Monoradar Service Messages.

Description:
This file declares the data item structures, the data record structure and the decode/encode/disassemble interfaces for ASTERIX Category 034 (Monoradar Service Messages) processing.
Note
This implementation is based on ASTERIX CAT034 version 1.27
Reference: EUROCONTROL-SPEC-0149-4

Function Documentation

◆ ast_dataitem_034_get_name()

const char * ast_dataitem_034_get_name ( const ast_dataitem_type_t type)

Get name function.