cat004.h File Reference

ASTERIX CAT004 - Safety Net Messages. More...

#include "dataitem.h"
#include "datarecord.h"
#include "subfield.h"
#include "cat_generic.h"
Include dependency graph for cat004.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_004_040_t
 Data Item I048/040 - Alert Identifier. More...
 
struct  ast_dataitem_004_060_t
 Data Item I048/060 - Safety Net Function & System Status. More...
 
struct  ast_dataitem_004_100_t
 Data Item I004/100 - Area Definition. More...
 
struct  ast_dataitem_004_120_t
 Data Item I004/120 - Conflict Characteristics. More...
 
struct  ast_dataitem_004_170_t
 Data Item I004/170 - Aircraft Identification & Characteristics 1. More...
 
struct  ast_datarecord_004_t
 Data Record I004 - Safety Net Messages. More...
 

Macros

#define AST_MAX_SNET_MESSAGE_TYPES   64
 Max SNET message types. More...
 
#define ast_dataitem_004_000_get_size   ast_dataitem_message_type_get_size
 Get size function. More...
 
#define ast_dataitem_004_000_decode   ast_dataitem_message_type_decode
 Decode function. More...
 
#define ast_dataitem_004_000_encode   ast_dataitem_message_type_encode
 Encode function. More...
 
#define ast_dataitem_004_010_get_size   ast_dataitem_data_source_identifier_get_size
 
#define ast_dataitem_004_010_decode   ast_dataitem_data_source_identifier_decode
 
#define ast_dataitem_004_010_encode   ast_dataitem_data_source_identifier_encode
 
#define ast_dataitem_004_010_get_summary   ast_dataitem_data_source_identifier_get_summary
 
#define ast_dataitem_004_010_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 
#define ast_dataitem_004_020_get_size   ast_dataitem_time_of_day_get_size
 Get size function. More...
 
#define ast_dataitem_004_020_decode   ast_dataitem_time_of_day_decode
 Decode function. More...
 
#define ast_dataitem_004_020_encode   ast_dataitem_time_of_day_encode
 Encode function. More...
 
#define ast_dataitem_004_020_get_summary   ast_dataitem_time_of_day_get_summary
 Get summary function. More...
 
#define ast_dataitem_004_020_get_detail_html   ast_dataitem_time_of_day_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_004_030_get_size   ast_dataitem_track_number_get_size
 Get size function. More...
 
#define ast_dataitem_004_030_decode   ast_dataitem_track_number_decode
 Decode function. More...
 
#define ast_dataitem_004_030_encode   ast_dataitem_track_number_encode
 Encode function. More...
 
#define ast_dataitem_004_030_get_summary   ast_dataitem_track_number_get_summary
 Get summary function. More...
 
#define ast_dataitem_004_030_get_detail_html   ast_dataitem_track_number_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_004_035_get_size   ast_dataitem_track_number_get_size
 Get size function. More...
 
#define ast_dataitem_004_035_decode   ast_dataitem_track_number_decode
 Decode function. More...
 
#define ast_dataitem_004_035_encode   ast_dataitem_track_number_encode
 Encode function. More...
 
#define ast_dataitem_004_035_get_summary   ast_dataitem_track_number_get_summary
 Get summary function. More...
 
#define ast_dataitem_004_035_get_detail_html   ast_dataitem_track_number_get_detail_html
 Get detail function. More...
 
#define ast_dataitem_004_040_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_004_040_get_detail_html   ast_dataitem_get_detail_html_dummy;
 Get detail function. More...
 
#define ast_dataitem_004_060_get_size   ast_dataitem_get_size_var_6_byte
 Get size function. More...
 
#define ast_dataitem_004_100_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_004_100_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define ast_dataitem_004_120_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_004_120_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define ast_dataitem_004_170_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_004_170_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define ast_dataitem_004_171_decode   ast_dataitem_004_170_decode
 Decode function. More...
 
#define ast_dataitem_004_171_get_summary   ast_dataitem_subfields_get_summary
 Get summary of dataitem. More...
 
#define ast_dataitem_004_171_get_detail_html   ast_dataitem_subfields_get_detail_html
 Get detail html snippet of dataitem. More...
 
#define ast_subfield_004_171_get_summary   ast_subfield_004_170_get_summary
 Get summary of subfield. More...
 
#define ast_subfield_004_171_get_detail_html   ast_subfield_004_170_get_detail_html
 Get detail HTML snippet of subfield. More...
 

Typedefs

typedef ast_dataitem_message_type_t ast_dataitem_004_000_t
 Data Item I004/000 - Message Type. More...
 
typedef ast_dataitem_data_source_identifier_t ast_dataitem_004_010_t
 
typedef ast_dataitem_time_of_day_t ast_dataitem_004_020_t
 Data Item I048/020 - Time of Message. More...
 
typedef ast_dataitem_track_number_t ast_dataitem_004_030_t
 Data Item I048/030 - Track Number 1. More...
 
typedef ast_dataitem_track_number_t ast_dataitem_004_035_t
 Data Item I048/035 - Track Number 2. More...
 
typedef ast_dataitem_004_170_t ast_dataitem_004_171_t
 Data Item I004/171 - Aircraft Identification & Characteristics 2. More...
 

Enumerations

enum  ast_snet_message_type_t {
  AST_SNET_MESSAGE_ALIVE = 1, AST_SNET_MESSAGE_RAMLD = 2, AST_SNET_MESSAGE_RAMHD = 3, AST_SNET_MESSAGE_MSAW = 4,
  AST_SNET_MESSAGE_APW = 5, AST_SNET_MESSAGE_CLAM = 6, AST_SNET_MESSAGE_STCA = 7, AST_SNET_MESSAGE_APM = 8,
  AST_SNET_MESSAGE_ALM = 9, AST_SNET_MESSAGE_WRA = 10, AST_SNET_MESSAGE_OTA = 11, AST_SNET_MESSAGE_RDM = 12,
  AST_SNET_MESSAGE_RCM = 13, AST_SNET_MESSAGE_TSM = 14, AST_SNET_MESSAGE_UTMM = 15, AST_SNET_MESSAGE_SBOA = 16,
  AST_SNET_MESSAGE_EOC = 17, AST_SNET_MESSAGE_ACASRA = 18, AST_SNET_MESSAGE_NTCA = 19, AST_SNET_MESSAGE_DBPSM = 20,
  AST_SNET_MESSAGE_SAM = 21, AST_SNET_MESSAGE_OCAT = 22, AST_SNET_MESSAGE_VCD = 23, AST_SNET_MESSAGE_VRAM = 24,
  AST_SNET_MESSAGE_CHAM = 25, AST_SNET_MESSAGE_DSAM = 26, AST_SNET_MESSAGE_HAM = 27, AST_SNET_MESSAGE_VPM = 28,
  AST_SNET_MESSAGE_TTA = 29, AST_SNET_MESSAGE_CRA = 30, AST_SNET_MESSAGE_ASM = 31, AST_SNET_MESSAGE_IAVM = 32,
  AST_SNET_MESSAGE_FTD = 33, AST_SNET_MESSAGE_ITD = 34, AST_SNET_MESSAGE_IIA = 35, AST_SNET_MESSAGE_SQW = 36,
  AST_SNET_MESSAGE_CUW = 37, AST_SNET_MESSAGE_LTW = 97, AST_SNET_MESSAGE_HVI = 98, AST_SNET_MESSAGE_AIW = 99,
  AST_SNET_MESSAGE_MRVA = 201
}
 SNET message type. More...
 

Functions

const char * ast_dataitem_004_get_name (const ast_dataitem_type_t type)
 Get name function. More...
 
const char * ast_snet_message_type_get_id (const ast_snet_message_type_t type)
 Get id of SNET message type. More...
 
const char * ast_snet_message_type_get_name (const ast_snet_message_type_t type)
 Get name of SNET message type. More...
 
void ast_dataitem_004_000_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_004_000_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
ast_dataitem_004_040_t ast_dataitem_004_040_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_004_040_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_004_040_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
ast_dataitem_004_060_t ast_dataitem_004_060_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_004_060_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_004_060_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 
size_t ast_dataitem_004_100_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size of dataitem. More...
 
ast_dataitem_004_100_t ast_dataitem_004_100_decode (const ast_dataitem_t di)
 Decode function of dataitem. More...
 
size_t ast_subfield_004_100_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_004_100_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_004_100_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
void ast_subfield_004_100_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_004_100_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_004_120_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size of dataitem. More...
 
ast_dataitem_004_120_t ast_dataitem_004_120_decode (const ast_dataitem_t di)
 Decode function of dataitem. More...
 
size_t ast_subfield_004_120_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_004_120_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_004_120_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
void ast_subfield_004_120_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_004_120_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_004_170_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size of dataitem. More...
 
ast_dataitem_004_170_t ast_dataitem_004_170_decode (const ast_dataitem_t di)
 Decode function of dataitem. More...
 
size_t ast_subfield_004_170_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_004_170_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_004_170_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
void ast_subfield_004_170_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_004_170_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_004_171_get_size (const unsigned char *buffer, const size_t bufsize)
 Get size function. More...
 
size_t ast_subfield_004_171_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_004_171_get_id (const ast_subfield_type_t type)
 Get id string of subfield. More...
 
const char * ast_subfield_004_171_get_name (const ast_subfield_type_t type)
 Get name of subfield. More...
 
ast_datarecord_004_t ast_datarecord_004_disassemble (const ast_datarecord_t dr)
 Disassemble function. More...
 

Detailed Description

ASTERIX CAT004 - Safety Net Messages.

Note
This implementation is based on ASTERIX CAT004 version 1.10

Function Documentation

◆ ast_dataitem_004_get_name()

const char* ast_dataitem_004_get_name ( const ast_dataitem_type_t  type)

Get name function.