Sensor configuration and operational status flags. More...

Collaboration diagram for Data Item I063/060 - Sensor Configuration and Status:

Data Structures

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

Macros

#define ast_dataitem_063_060_get_size   ast_dataitem_get_size_var_2_byte
 Get the size of Data Item I063/060.

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

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.

Detailed Description

Sensor configuration and operational status flags.

Description
Data Item I063/060 provides detailed information about the sensor's configuration and operational status, including sensor availability, overload conditions, and various warning states.
Structure
  • 1 or 2 octets (FX bit indicates extension)
  • First octet: Configuration and GO/NO-GO status
  • Second octet (optional): Extended status flags

Macro Definition Documentation

◆ ast_dataitem_063_060_get_size

#define ast_dataitem_063_060_get_size   ast_dataitem_get_size_var_2_byte

Get the size of Data Item I063/060.

Enumeration Type Documentation

◆ ast_sensor_config_t

Sensor configuration status codes.

Enumerator
AST_SENSOR_CONFIG_OPERATIONAL 

Sensor is fully operational.

AST_SENSOR_CONFIG_DEGRADED 

Sensor is operating in degraded mode.

AST_SENSOR_CONFIG_INIT 

Sensor is in initialization state.

AST_SENSOR_CONFIG_DISCONNECTED 

Sensor is disconnected.

Function Documentation

◆ ast_dataitem_063_060_decode()

ast_dataitem_063_060_t ast_dataitem_063_060_decode ( const ast_dataitem_t di)

Decode Data Item I063/060 from raw bytes.

Parameters
diThe data item containing raw bytes
Returns
Decoded sensor configuration and status structure

◆ ast_dataitem_063_060_get_detail_html()

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.

Parameters
detailOutput buffer for the HTML detail string
detail_sizeSize of the output buffer
diThe data item to describe

◆ ast_dataitem_063_060_get_summary()

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.

Parameters
summaryOutput buffer for the summary string
summary_sizeSize of the output buffer
diThe data item to summarize