Data Item - Target Identification

Standard and shared data item target identification. More...

Data Structures

struct  ast_dataitem_target_id_t
 Data Item - Target Identification. More...
 

Macros

#define ast_dataitem_target_id_get_size   ast_dataitem_get_size_fixed_7_byte
 Get size function. More...
 

Enumerations

enum  ast_target_id_type_t { AST_TARGET_ID_UNKNOWN, AST_TARGET_ID_REGISTRATION, AST_TARGET_ID_CALLSIGN, AST_TARGET_ID_UNDIFINED }
 Target identification type. More...
 

Functions

ast_dataitem_target_id_t ast_dataitem_target_id_decode (const ast_dataitem_t di)
 Decode function. More...
 
void ast_dataitem_target_id_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 
void ast_dataitem_target_id_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 target identification.

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

See also
Data Item I020/245 - Target Identification
Data Item I062/245 - Target Identification

Macro Definition Documentation

◆ ast_dataitem_target_id_get_size

#define ast_dataitem_target_id_get_size   ast_dataitem_get_size_fixed_7_byte

Get size function.

Enumeration Type Documentation

◆ ast_target_id_type_t

Target identification type.

Enumerator
AST_TARGET_ID_UNKNOWN 

Not sure downlinked is callsign or registration.

AST_TARGET_ID_REGISTRATION 
AST_TARGET_ID_CALLSIGN 
AST_TARGET_ID_UNDIFINED 

Function Documentation

◆ ast_dataitem_target_id_decode()

ast_dataitem_target_id_t ast_dataitem_target_id_decode ( const ast_dataitem_t  di)

Decode function.

◆ ast_dataitem_target_id_get_detail_html()

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

Get detail function.

◆ ast_dataitem_target_id_get_summary()

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

Get summary function.