cat034.h File Reference

ASTERIX CAT034 - Transmission of 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_041_t
 Data Item - Antenna Rotation Speed. More...
 
struct  ast_dataitem_034_050_t
 Data Item I034/050 - Station Configuration & Status. More...
 
struct  ast_dataitem_034_060_t
 Data Item I034/060 - System Processing Mode. More...
 
struct  ast_counter_t
 
struct  ast_dataitem_034_070_t
 Data Item I034/070 - Message Count Values. More...
 
struct  ast_datarecord_034_t
 Data Record I034 - Transmission of Monoradar Service Messages. More...
 

Macros

#define ast_dataitem_034_000_get_size   ast_dataitem_message_type_get_size
 Get size function. More...
 
#define ast_dataitem_034_000_decode   ast_dataitem_message_type_decode
 Decode function. More...
 
#define ast_dataitem_034_000_encode   ast_dataitem_message_type_encode
 Encode function. More...
 
#define ast_dataitem_034_000_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_034_010_get_size   ast_dataitem_data_source_identifier_get_size
 
#define ast_dataitem_034_010_decode   ast_dataitem_data_source_identifier_decode
 
#define ast_dataitem_034_010_encode   ast_dataitem_data_source_identifier_encode
 
#define ast_dataitem_034_010_get_summary   ast_dataitem_data_source_identifier_get_summary
 
#define ast_dataitem_034_010_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 
#define ast_dataitem_034_020_get_size   ast_dataitem_sector_number_get_size
 Get size function. More...
 
#define ast_dataitem_034_020_decode   ast_dataitem_sector_number_decode
 Decode function. More...
 
#define ast_dataitem_034_020_encode   ast_dataitem_sector_number_encode
 Encode function. More...
 
#define ast_dataitem_034_020_get_summary   ast_dataitem_sector_number_get_summary
 Get summary function. More...
 
#define ast_dataitem_034_020_get_detail_html   ast_dataitem_sector_number_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_034_030_get_size   ast_dataitem_time_of_day_get_size
 
#define ast_dataitem_034_030_decode   ast_dataitem_time_of_day_decode
 
#define ast_dataitem_034_030_encode   ast_dataitem_time_of_day_encode
 
#define ast_dataitem_034_030_get_summary   ast_dataitem_time_of_day_get_summary
 
#define ast_dataitem_034_030_get_detail_html   ast_dataitem_time_of_day_get_detail_html
 
#define ast_dataitem_034_041_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_034_041_get_detail_html   ast_dataitem_get_detail_html_dummy;
 Get detail function. More...
 
#define ast_dataitem_034_050_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_034_050_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define ast_dataitem_034_060_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_034_060_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define AST_MAX_COUNTERS   16
 
#define ast_dataitem_034_070_get_size   ast_dataitem_get_size_rep_2_byte
 Get size function. More...
 
#define ast_dataitem_034_090_get_size   ast_dataitem_get_size_fixed_2_byte
 
#define ast_dataitem_034_110_get_size   ast_dataitem_get_size_fixed_1_byte
 
#define ast_dataitem_034_120_get_size   ast_dataitem_get_size_fixed_8_byte
 
#define ast_dataitem_034_SPF_get_size   ast_dataitem_special_purpose_field_get_size
 Get size function. More...
 
#define ast_dataitem_034_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary
 Decode function. More...
 
#define ast_dataitem_034_SPF_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 

Typedefs

typedef ast_dataitem_message_type_t ast_dataitem_034_000_t
 Data Item I034/000 - Message Type. More...
 
typedef ast_dataitem_data_source_identifier_t ast_dataitem_034_010_t
 
typedef ast_dataitem_sector_number_t ast_dataitem_034_020_t
 Data Item I034/020 - Sector Number. More...
 
typedef ast_dataitem_time_of_day_t ast_dataitem_034_030_t
 

Enumerations

enum  ast_modes_message_type_t { MODES_MESSAGE_NORTH_MARKER = 1, MODES_MESSAGE_SECTOR_CORSSING = 2, MODES_MESSAGE_GEO_FILTERING = 3, MODES_MESSAGE_JAMMING_STROBE = 4 }
 Mode-S message type. 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 }
 
enum  ast_psr_polarization_t { AST_PSR_POLARIZATION_LINEAR = 0, AST_PSR_POLARIZATION_CIRCULAR = 1 }
 
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
}
 
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
}
 

Functions

const char * ast_dataitem_034_get_name (const ast_dataitem_type_t type)
 Get name function. More...
 
void ast_dataitem_034_000_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_dataitem_034_041_t ast_dataitem_034_041_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_034_041_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary funciton. More...
 
size_t ast_dataitem_034_050_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size of dataitem. More...
 
ast_dataitem_034_050_t ast_dataitem_034_050_decode (const ast_dataitem_t di)
 Decode function of dataitem. More...
 
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 subfield. More...
 
const char * ast_subfield_034_050_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_034_050_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
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. More...
 
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. More...
 
size_t ast_dataitem_034_060_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size of dataitem. More...
 
ast_dataitem_034_060_t ast_dataitem_034_060_decode (const ast_dataitem_t di)
 Decode function of dataitem. More...
 
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 subfield. More...
 
const char * ast_subfield_034_060_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_034_060_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
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 subfield. More...
 
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 snippet of subfield. More...
 
ast_dataitem_034_070_t ast_dataitem_034_070_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_034_070_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary funciton. More...
 
void ast_dataitem_034_070_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_datarecord_034_t ast_datarecord_034_disassemble (const ast_datarecord_t dr)
 Disassemble function. More...
 
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 function. More...
 

Detailed Description

ASTERIX CAT034 - Transmission of Monoradar Service Messages.

Note
This implementation is based on ASTERIX CAT034 version 1.27

Macro Definition Documentation

◆ ast_dataitem_034_SPF_get_detail_html

#define ast_dataitem_034_SPF_get_detail_html   ast_dataitem_get_detail_html_dummy

Get detail function.

◆ ast_dataitem_034_SPF_get_size

#define ast_dataitem_034_SPF_get_size   ast_dataitem_special_purpose_field_get_size

Get size function.

◆ ast_dataitem_034_SPF_get_summary

#define ast_dataitem_034_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary

Decode function.

Get Summary function

Function Documentation

◆ ast_dataitem_034_get_name()

const char* ast_dataitem_034_get_name ( const ast_dataitem_type_t  type)

Get name function.