cat063.h File Reference

ASTERIX CAT063 - Sensor Status Reports. More...

#include "dataitem.h"
#include "datarecord.h"
#include "cat_generic.h"
Include dependency graph for cat063.h:

Go to the source code of this file.

Data Structures

struct  ast_dataitem_063_060_t
 Data Item I063/060 - Sensor Configuration and Status. More...
struct  ast_datarecord_063_t
 Data Record I063 - Sensor Status Reports. More...

Macros

#define ast_dataitem_063_010_get_size   ast_dataitem_data_source_identifier_get_size
 Get the size of Data Item I063/010.
#define ast_dataitem_063_010_decode   ast_dataitem_data_source_identifier_decode
 Decode Data Item I063/010 from raw bytes.
#define ast_dataitem_063_010_encode   ast_dataitem_data_source_identifier_encode
 Encode Data Item I063/010 to raw bytes.
#define ast_dataitem_063_010_get_summary   ast_dataitem_data_source_identifier_get_summary
 Get the summary of Data Item I063/010.
#define ast_dataitem_063_010_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 Get the detailed HTML representation of Data Item I063/010.
#define ast_dataitem_063_015_get_size   ast_dataitem_service_id_get_size
 Get the size of Data Item I063/015.
#define ast_dataitem_063_015_decode   ast_dataitem_service_id_decode
 Decode Data Item I063/015 from raw bytes.
#define ast_dataitem_063_015_encode   ast_dataitem_service_id_encode
 Encode Data Item I063/015 to raw bytes.
#define ast_dataitem_063_015_get_summary   ast_dataitem_service_id_get_summary
 Get the summary of Data Item I063/015.
#define ast_dataitem_063_015_get_detail_html   ast_dataitem_service_id_get_detail_html
 Get the detailed HTML representation of Data Item I063/015.
#define ast_dataitem_063_030_get_size   ast_dataitem_time_of_day_get_size
 Get the size of Data Item I063/030.
#define ast_dataitem_063_030_decode   ast_dataitem_time_of_day_decode
 Decode Data Item I063/030 from raw bytes.
#define ast_dataitem_063_030_encode   ast_dataitem_time_of_day_encode
 Encode Data Item I063/030 to raw bytes.
#define ast_dataitem_063_030_get_summary   ast_dataitem_time_of_day_get_summary
 Get the summary of Data Item I063/030.
#define ast_dataitem_063_030_get_detail_html   ast_dataitem_time_of_day_get_detail_html
 Get the detailed HTML representation of Data Item I063/030.
#define ast_dataitem_063_050_get_size   ast_dataitem_data_source_identifier_get_size
 Get the size of Data Item I063/050.
#define ast_dataitem_063_050_decode   ast_dataitem_data_source_identifier_decode
 Decode Data Item I063/050 from raw bytes.
#define ast_dataitem_063_050_encode   ast_dataitem_data_source_identifier_encode
 Encode Data Item I063/050 to raw bytes.
#define ast_dataitem_063_050_get_summary   ast_dataitem_data_source_identifier_get_summary
 Get the summary of Data Item I063/050.
#define ast_dataitem_063_050_get_detail_html   ast_dataitem_data_source_identifier_get_detail_html
 Get the detailed HTML representation of Data Item I063/050.
#define ast_dataitem_063_060_get_size   ast_dataitem_get_size_var_2_byte
 Get the size of Data Item I063/060.
#define ast_dataitem_063_REF_get_size   ast_dataitem_reserved_expansion_field_get_size
 Get size function for I063/REF.
#define ast_dataitem_063_REF_get_summary   ast_dataitem_reserved_expansion_field_get_summary
 Get summary function for I063/REF.
#define ast_dataitem_063_REF_get_detail_html   ast_dataitem_reserved_expansion_field_get_detail_html
 Get detail function for I063/REF.
#define ast_dataitem_063_SPF_get_size   ast_dataitem_special_purpose_field_get_size
 Get size function for I063/SPF.
#define ast_dataitem_063_SPF_get_summary   ast_dataitem_special_purpose_field_get_summary
 Get summary function for I063/SPF.
#define ast_dataitem_063_SPF_get_detail_html   ast_dataitem_special_purpose_field_get_detail_html
 Get detail function for I063/SPF.

Typedefs

typedef ast_dataitem_data_source_identifier_t ast_dataitem_063_010_t
 Data Item I063/010 - Data Source Identifier.
typedef ast_dataitem_service_id_t ast_dataitem_063_015_t
 Data Item I063/015 - Service Identification.
typedef ast_dataitem_time_of_day_t ast_dataitem_063_030_t
 Data Item I063/030 - Time of Message.
typedef ast_dataitem_data_source_identifier_t ast_dataitem_063_050_t
 Data Item I063/050 - Sensor Identifier.

Enumerations

enum  ast_sensor_config_t { AST_SENSOR_CONFIG_OPERATIONAL = 0 , AST_SENSOR_CONFIG_DEGRADED = 1 , AST_SENSOR_CONFIG_INIT = 2 , AST_SENSOR_CONFIG_DISCONNECTED = 3 }
 Sensor configuration status codes. More...

Functions

const char * ast_dataitem_063_get_name (const ast_dataitem_type_t type)
 Get the name of a CAT063 data item.
ast_dataitem_063_060_t ast_dataitem_063_060_decode (const ast_dataitem_t di)
 Decode Data Item I063/060 from raw bytes.
void ast_dataitem_063_060_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get a text summary of Data Item I063/060.
void ast_dataitem_063_060_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get a detailed HTML representation of Data Item I063/060.
ast_datarecord_063_t ast_datarecord_063_disassemble (const ast_datarecord_t dr)
 Disassemble a raw data record into CAT063 structured format.

Detailed Description

ASTERIX CAT063 - Sensor Status Reports.

Description:
This file declares the data item structures, the data record structure and the decode/encode/disassemble interfaces for ASTERIX Category 063 (Sensor Status Reports) processing.
Note
This implementation is based on ASTERIX CAT063 version 1.6
Reference: EUROCONTROL-SPEC-0149-10

Function Documentation

◆ ast_dataitem_063_get_name()

const char * ast_dataitem_063_get_name ( const ast_dataitem_type_t type)

Get the name of a CAT063 data item.

Parameters
typeThe data item type identifier
Returns
Pointer to a string containing the data item name