cat002.h File Reference

ASTERIX CAT002 - Monoradar Service Messages. More...

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

Go to the source code of this file.

Data Structures

struct  ast_datarecord_002_t
 Data Record I002 - Monoradar Service Messages. More...
 

Macros

#define ast_dataitem_002_000_get_size   ast_dataitem_message_type_get_size
 Get size function. More...
 
#define ast_dataitem_002_000_decode   ast_dataitem_message_type_decode
 Decode function. More...
 
#define ast_dataitem_002_000_encode   ast_dataitem_message_type_encode
 Encode function. More...
 
#define ast_dataitem_002_000_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_dataitem_002_010_get_size   ast_dataitem_data_source_identifier_get_size
 Get size function. More...
 
#define ast_dataitem_002_010_decode   ast_dataitem_data_source_identifier_decode
 Decode function. More...
 
#define ast_dataitem_002_010_encode   ast_dataitem_data_source_identifier_encode
 Encode function. More...
 
#define ast_dataitem_002_010_get_summary   ast_dataitem_data_source_identifier_get_summary
 Get summary function. More...
 
#define ast_dataitem_002_010_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_002_020_get_size   ast_dataitem_sector_number_get_size
 Get size function. More...
 
#define ast_dataitem_002_020_decode   ast_dataitem_sector_number_decode
 Decode function. More...
 
#define ast_dataitem_002_020_encode   ast_dataitem_sector_number_encode
 Encode function. More...
 
#define ast_dataitem_002_020_get_summary   ast_dataitem_sector_number_get_summary
 Get summary function. More...
 
#define ast_dataitem_002_020_get_detail_html   ast_dataitem_sector_number_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_002_030_get_size   ast_dataitem_time_of_day_get_size
 Get size function. More...
 
#define ast_dataitem_002_030_decode   ast_dataitem_time_of_day_decode
 Decode function. More...
 
#define ast_dataitem_002_030_encode   ast_dataitem_time_of_day_encode
 Encode function. More...
 
#define ast_dataitem_002_030_get_summary   ast_dataitem_time_of_day_get_summary
 Get summary function. More...
 
#define ast_dataitem_002_030_get_detail_html   ast_dataitem_time_of_day_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_002_041_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_002_050_get_size   ast_dataitem_get_size_var_unlimited
 
#define ast_dataitem_002_050_get_summary   ast_dataitem_binary_data_get_summary
 
#define ast_dataitem_002_050_get_detail_html   ast_dataitem_get_detail_html_dummy
 
#define ast_dataitem_002_SPF_get_size   ast_dataitem_special_purpose_field_get_size
 Get size function. More...
 
#define ast_dataitem_002_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary
 Decode function. More...
 
#define ast_dataitem_002_SPF_get_detail_html   ast_dataitem_get_detail_html_dummy
 Get detail function. More...
 
#define ast_datarecord_002_get_tracknum   0
 Get track number function. More...
 
#define ast_datarecord_002_get_squawk   0
 Get Mode-3/A code function. More...
 
#define ast_datarecord_002_get_callsign   0
 Get callsign function. More...
 
#define ast_datarecord_002_get_icaoaddr   0
 Get ICAO 24-bit address function. More...
 
#define ast_datarecord_002_get_coordinate   0
 Get coordinate function. More...
 
#define ast_datarecord_002_get_flightlevel   0
 Get flight level function. More...
 
#define ast_datarecord_002_get_polarcoord   0
 Get polar coordinate function. More...
 
#define ast_datarecord_002_get_heading   0
 Get heading function. More...
 
#define ast_datarecord_002_get_speed   0
 Get speed function. More...
 

Typedefs

typedef ast_dataitem_message_type_t ast_dataitem_002_000_t
 Data Item I002/000 - Message Type. More...
 
typedef ast_dataitem_data_source_identifier_t ast_dataitem_002_010_t
 Data Item I002/010 - Data Source Identifier. More...
 
typedef ast_dataitem_sector_number_t ast_dataitem_002_020_t
 Data Item I002/020 - Sector Number. More...
 
typedef ast_dataitem_time_of_day_t ast_dataitem_002_030_t
 Data Item I002/030 - Time of Day. More...
 

Enumerations

enum  ast_radar_message_type_t {
  AST_RADAR_MESSAGE_NORTH_MARKER = 1, AST_RADAR_MESSAGE_SECTOR_CORSSING = 2, AST_RADAR_MESSAGE_SOUTH_MARKER = 3, AST_RADAR_MESSAGE_BLIND_ZONE_START = 8,
  AST_RADAR_MESSAGE_BLIND_ZONE_STOP = 9
}
 Radar message type. More...
 

Functions

const char * ast_dataitem_002_get_name (const ast_dataitem_type_t type)
 Get name function. More...
 
void ast_dataitem_002_000_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_sacsic_t ast_datarecord_002_get_sacsic (const ast_datarecord_t dr)
 Get SAC/SIC function. More...
 
ast_timeofday_t ast_datarecord_002_get_timeofday (const ast_datarecord_t dr)
 Get time of day function. More...
 
ast_msgtype_t ast_datarecord_002_get_msgtype (const ast_datarecord_t dr)
 Get message type function. More...
 
ast_datarecord_002_t ast_datarecord_002_disassemble (const ast_datarecord_t dr)
 Disassemble function. More...
 
ast_datarecord_t ast_datarecord_002_assemble (unsigned char *const buffer, const size_t bufsize, const ast_datarecord_002_t dr, const ast_uap_t uap)
 Assemble function. More...
 

Detailed Description

ASTERIX CAT002 - Monoradar Service Messages.

Note
This implementation is based on ASTERIX CAT021 version 0.26

Macro Definition Documentation

◆ ast_dataitem_002_SPF_get_detail_html

#define ast_dataitem_002_SPF_get_detail_html   ast_dataitem_get_detail_html_dummy

Get detail function.

◆ ast_dataitem_002_SPF_get_size

#define ast_dataitem_002_SPF_get_size   ast_dataitem_special_purpose_field_get_size

Get size function.

◆ ast_dataitem_002_SPF_get_summary

#define ast_dataitem_002_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary

Decode function.

Get Summary function

◆ ast_datarecord_002_get_callsign

#define ast_datarecord_002_get_callsign   0

Get callsign function.

◆ ast_datarecord_002_get_coordinate

#define ast_datarecord_002_get_coordinate   0

Get coordinate function.

◆ ast_datarecord_002_get_flightlevel

#define ast_datarecord_002_get_flightlevel   0

Get flight level function.

◆ ast_datarecord_002_get_heading

#define ast_datarecord_002_get_heading   0

Get heading function.

◆ ast_datarecord_002_get_icaoaddr

#define ast_datarecord_002_get_icaoaddr   0

Get ICAO 24-bit address function.

◆ ast_datarecord_002_get_polarcoord

#define ast_datarecord_002_get_polarcoord   0

Get polar coordinate function.

◆ ast_datarecord_002_get_speed

#define ast_datarecord_002_get_speed   0

Get speed function.

◆ ast_datarecord_002_get_squawk

#define ast_datarecord_002_get_squawk   0

Get Mode-3/A code function.

◆ ast_datarecord_002_get_tracknum

#define ast_datarecord_002_get_tracknum   0

Get track number function.

Function Documentation

◆ ast_dataitem_002_get_name()

const char* ast_dataitem_002_get_name ( const ast_dataitem_type_t  type)

Get name function.

◆ ast_datarecord_002_get_msgtype()

ast_msgtype_t ast_datarecord_002_get_msgtype ( const ast_datarecord_t  dr)

Get message type function.

◆ ast_datarecord_002_get_sacsic()

ast_sacsic_t ast_datarecord_002_get_sacsic ( const ast_datarecord_t  dr)

Get SAC/SIC function.

◆ ast_datarecord_002_get_timeofday()

ast_timeofday_t ast_datarecord_002_get_timeofday ( const ast_datarecord_t  dr)

Get time of day function.