Data Item - Mode-C Code in Binary Representation

Standard and shared data item Mode-C code in binary representation. More...

Data Structures

struct  ast_dataitem_mode_c_code_t
 Data Item - Mode-C Code. More...
 

Macros

#define ast_dataitem_mode_c_code_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 

Functions

ast_dataitem_mode_c_code_t ast_dataitem_mode_c_code_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_mode_c_code_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_mode_c_code_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_mode_c_code_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detail function. More...
 

Detailed Description

Standard and shared data item Mode-C code in binary representation.

It's commonly used as IXXX/090. It's used by:

See also
Data Item I001/090 - Mode-C in Binary Representation
Data Item I020/090 - Flight Level in Binary Representation
Data Item I048/090 - Flight Level in Binary Representation
Note
In some dataitems, the resolution is 1/4 FL; some others are 1 FL.

Macro Definition Documentation

◆ ast_dataitem_mode_c_code_get_size

#define ast_dataitem_mode_c_code_get_size   ast_dataitem_get_size_fixed_2_byte

Get size function.

Function Documentation

◆ ast_dataitem_mode_c_code_decode()

ast_dataitem_mode_c_code_t ast_dataitem_mode_c_code_decode ( const ast_dataitem_t  di)

Decode function.

◆ ast_dataitem_mode_c_code_encode()

ast_dataitem_t ast_dataitem_mode_c_code_encode ( unsigned char *const  buffer,
const size_t  buf_size,
const ast_dataitem_ex_t  xdi 
)

Encode function.

◆ ast_dataitem_mode_c_code_get_detail_html()

void ast_dataitem_mode_c_code_get_detail_html ( char *  detail,
const size_t  detail_size,
const ast_dataitem_t  di 
)

Get detail function.

◆ ast_dataitem_mode_c_code_get_summary()

void ast_dataitem_mode_c_code_get_summary ( char *  summary,
const size_t  summary_size,
const ast_dataitem_t  di 
)

Get summary function.