Data Item - Track Number

Standard and shared data item track number. More...

Data Structures

struct  ast_dataitem_track_number_t
 Data Item Itrack_number - Track Number. More...
 

Macros

#define ast_dataitem_track_number_get_size   ast_dataitem_get_size_fixed_2_byte
 Get size function. More...
 
#define ast_dataitem_track_number_get_detail_html   ast_dataitem_get_detail_html_dummy;
 Get detail function. More...
 

Functions

ast_dataitem_track_number_t ast_dataitem_track_number_decode (const ast_dataitem_t di)
 Decode function. More...
 
ast_dataitem_t ast_dataitem_track_number_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode function. More...
 
void ast_dataitem_track_number_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary function. More...
 

Detailed Description

Standard and shared data item track number.

It's used by:

See also
Data Item I001/161 - Track Plot Number
Data Item I048/030 - Track Number 1
Data Item I048/035 - Track Number 2
Data Item I010/161 - Track Number
Data Item I020/161 - Track Number
Data Item I021/161 - Track Number
Data Item I048/161 - Track Number
Data Item I062/040 - Track Number
Note
In some dataitems, like I020/161, the first 4 bits is always set to 0, so the track number is limited to 0~4095. While in other dataitems, like I062/040, all 16 bits is used, and track number is up to 0~65535.

Macro Definition Documentation

◆ ast_dataitem_track_number_get_detail_html

#define ast_dataitem_track_number_get_detail_html   ast_dataitem_get_detail_html_dummy;

Get detail function.

◆ ast_dataitem_track_number_get_size

#define ast_dataitem_track_number_get_size   ast_dataitem_get_size_fixed_2_byte

Get size function.

Function Documentation

◆ ast_dataitem_track_number_decode()

ast_dataitem_track_number_t ast_dataitem_track_number_decode ( const ast_dataitem_t  di)

Decode function.

◆ ast_dataitem_track_number_encode()

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

Encode function.

◆ ast_dataitem_track_number_get_summary()

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

Get summary function.