Type and characteristics of the radar data as transmitted by a radar station. More...

Collaboration diagram for Data Item I001/020 - Target Report Descriptor:

Data Structures

struct  ast_dataitem_001_020_t
 Data Item I001/020 - Target Report Descriptor. More...

Macros

#define ast_dataitem_001_020_get_size   ast_dataitem_get_size_var_2_byte
 Get size function for I001/020.

Enumerations

enum  ast_conventional_radar_target_type_t { AST_CONVENTIONAL_RADAR_TARGET_PLOT = 0 , AST_CONVENTIONAL_RADAR_TARGET_TRACK = 1 }
 Conventional radar target type (Plot or Track). More...
enum  ast_radar_detection_type_t { AST_RADAR_DETECTION_NO = 0 , AST_RADAR_DETECTION_PSR = 1 , AST_RADAR_DETECTION_SSR = 2 , AST_RADAR_DETECTION_PSR_SSR = 3 }
 Type of radar detection. More...
enum  ast_radar_emergency_type_t { AST_RADAR_EMG_DEFAULT = 0 , AST_RADAR_EMG_7500 = 1 , AST_RADAR_EMG_7600 = 2 , AST_RADAR_EMG_7700 = 3 }
 Emergency indication type. More...

Functions

ast_dataitem_001_020_t ast_dataitem_001_020_decode (const ast_dataitem_t di)
 Decode Data Item I001/020.
ast_dataitem_t ast_dataitem_001_020_encode (unsigned char *const buffer, const size_t buf_size, const ast_dataitem_ex_t xdi)
 Encode Data Item I001/020.
void ast_dataitem_001_020_get_summary (char *summary, const size_t summary_size, const ast_dataitem_t di)
 Get summary text for I001/020.
void ast_dataitem_001_020_get_detail_html (char *detail, const size_t detail_size, const ast_dataitem_t di)
 Get detailed HTML representation for I001/020.

Detailed Description

Type and characteristics of the radar data as transmitted by a radar station.

Format:
Variable length Data Item comprising a first part of one octet, followed by one-octet extents as necessary
Structure (First Octet):
  • Bit 8 (TYP): Target type (0=Plot, 1=Track)
  • Bit 7 (SIM): Simulation flag (0=Actual, 1=Simulated)
  • Bits 6-5 (SSRPSR): Radar detection type (0=No detection, 1=PSR, 2=SSR, 3=Combined)
  • Bit 4 (ANT): Antenna number (0=Antenna 1, 1=Antenna 2)
  • Bit 3 (SPI): Special Position Identification
  • Bit 2 (RAB): Fixed transponder indicator
  • Bit 1 (FX): Field extension indicator
Structure (Second Octet, if FX=1):
  • Bits 8-7 (DS1DS2): Emergency indication (0=Default, 1=7500, 2=7600, 3=7700)
  • Bit 6 (ME): Military emergency
  • Bit 5 (MI): Military identification
  • Bits 4-3: Spare bits (set to 0)
  • Bit 2 (TST): Test target indicator (0=Default, 1=Test target)

Macro Definition Documentation

◆ ast_dataitem_001_020_get_size

#define ast_dataitem_001_020_get_size   ast_dataitem_get_size_var_2_byte

Get size function for I001/020.

Enumeration Type Documentation

◆ ast_conventional_radar_target_type_t

Conventional radar target type (Plot or Track).

Enumerator
AST_CONVENTIONAL_RADAR_TARGET_PLOT 

Plot (single detection).

AST_CONVENTIONAL_RADAR_TARGET_TRACK 

Track (established track).

◆ ast_radar_detection_type_t

Type of radar detection.

Enumerator
AST_RADAR_DETECTION_NO 

No detection.

AST_RADAR_DETECTION_PSR 

Sole primary detection.

AST_RADAR_DETECTION_SSR 

Sole secondary detection.

AST_RADAR_DETECTION_PSR_SSR 

Combined primary and secondary detection.

◆ ast_radar_emergency_type_t

Emergency indication type.

Enumerator
AST_RADAR_EMG_DEFAULT 

Default - no emergency.

AST_RADAR_EMG_7500 

Unlawful interference (7500).

AST_RADAR_EMG_7600 

Radio-communication failure (7600).

AST_RADAR_EMG_7700 

Emergency (7700).

Function Documentation

◆ ast_dataitem_001_020_decode()

ast_dataitem_001_020_t ast_dataitem_001_020_decode ( const ast_dataitem_t di)

Decode Data Item I001/020.

Parameters
diData item to decode
Returns
Decoded target report descriptor structure

◆ ast_dataitem_001_020_encode()

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

Encode Data Item I001/020.

Parameters
bufferOutput buffer
buf_sizeBuffer size
xdiExtended data item information
Returns
Encoded data item

◆ ast_dataitem_001_020_get_detail_html()

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

Get detailed HTML representation for I001/020.

Parameters
detailOutput buffer for HTML detail
detail_sizeSize of detail buffer
diData item to detail

◆ ast_dataitem_001_020_get_summary()

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

Get summary text for I001/020.

Parameters
summaryOutput buffer for summary
summary_sizeSize of summary buffer
diData item to summarize