CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
gnss_types.c File Reference
#include "gnss_receiver/gnss_types.h"
#include <string.h>
Include dependency graph for gnss_types.c:

Functions

uint8_t GNSS_reference_time_status_str_to_enum (const char *status_str, GNSS_reference_time_status_t *status)
 Assigns a GNSS time status based on the provided string.
 
const char * GNSS_reference_time_status_enum_to_str (GNSS_reference_time_status_t status)
 Assigns a string value based on the provided GNSS time status.
 
uint8_t GNSS_solution_status_str_to_enum (const char *status_str, GNSS_solution_status_enum_t *status)
 Assigns a GNSS solution status based on the provided string.
 
uint8_t GNSS_position_type_str_to_enum (const char *type_str, GNSS_position_type_enum_t *type)
 Assigns a GNSS position or velocity type based on the provided string.
 
const char * GNSS_solution_status_enum_to_str (GNSS_solution_status_enum_t status)
 Assigns a string value based on the provided GNSS solution status.
 
const char * GNSS_position_type_enum_to_string (GNSS_position_type_enum_t type)
 Assigns a string value based on the provided GNSS position type.
 
uint8_t GNSS_clock_model_status_str_to_enum (const char *status_str, GNSS_clock_model_status_enum_t *status)
 Assigns a GNSS Clock Model status based on the provided string.
 
uint8_t GNSS_utc_status_str_to_enum (const char *status_str, GNSS_utc_status_enum_t *status)
 Assigns a GNSS UTC status based on the provided string.
 
const char * GNSS_clock_model_status_enum_to_string (GNSS_clock_model_status_enum_t status)
 Assigns a string value based on the provided GNSS clock model status.
 
const char * GNSS_utc_status_enum_to_string (GNSS_utc_status_enum_t status)
 Assigns a string value based on the provided GNSS UTC status.
 

Function Documentation

◆ GNSS_clock_model_status_enum_to_string()

const char * GNSS_clock_model_status_enum_to_string ( GNSS_clock_model_status_enum_t status)

Assigns a string value based on the provided GNSS clock model status.

Parameters
statusGNSS_clock_model_status_enum_t value.
Returns
Returns the assigned string value for the GNSS_clock_model_status_enum_t.
Here is the caller graph for this function:

◆ GNSS_clock_model_status_str_to_enum()

uint8_t GNSS_clock_model_status_str_to_enum ( const char * status_str,
GNSS_clock_model_status_enum_t * status )

Assigns a GNSS Clock Model status based on the provided string.

Parameters
status_strThe status string to parse.
statusPointer to GNSS_clock_model_status_enum_t where the status will be stored.
Returns
Returns 0 on success, 1 if the status string is unrecognized.
Here is the caller graph for this function:

◆ GNSS_position_type_enum_to_string()

const char * GNSS_position_type_enum_to_string ( GNSS_position_type_enum_t type)

Assigns a string value based on the provided GNSS position type.

Parameters
typeGNSS_position_type_enum_t value.
Returns
Returns the assigned string value for the GNSS_position_type_enum_t.
Here is the caller graph for this function:

◆ GNSS_position_type_str_to_enum()

uint8_t GNSS_position_type_str_to_enum ( const char * type_str,
GNSS_position_type_enum_t * type )

Assigns a GNSS position or velocity type based on the provided string.

Parameters
type_strThe type string to parse.
typePointer to GNSS_position_velocity_type_enum_t where the type will be stored.
Returns
Returns 0 on success, 1 if the type string is unrecognized.
Here is the caller graph for this function:

◆ GNSS_reference_time_status_enum_to_str()

const char * GNSS_reference_time_status_enum_to_str ( GNSS_reference_time_status_t status)

Assigns a string value based on the provided GNSS time status.

Parameters
statusGNSS_reference_time_status_t value.
Returns
Returns the assigned string value for the GNSS time status.
Here is the caller graph for this function:

◆ GNSS_reference_time_status_str_to_enum()

uint8_t GNSS_reference_time_status_str_to_enum ( const char * status_str,
GNSS_reference_time_status_t * status )

Assigns a GNSS time status based on the provided string.

Parameters
status_strThe status string to parse.
statusPointer to GNSS_reference_time_status_t where the status will be stored.
Returns
Returns 0 on success, 1 if the status string is unrecognized.
Here is the caller graph for this function:

◆ GNSS_solution_status_enum_to_str()

const char * GNSS_solution_status_enum_to_str ( GNSS_solution_status_enum_t status)

Assigns a string value based on the provided GNSS solution status.

Parameters
statusGNSS_solution_status_enum_t value.
Returns
Returns the assigned string value for the GNSS_solution_status_enum_t.
Here is the caller graph for this function:

◆ GNSS_solution_status_str_to_enum()

uint8_t GNSS_solution_status_str_to_enum ( const char * status_str,
GNSS_solution_status_enum_t * status )

Assigns a GNSS solution status based on the provided string.

Parameters
status_strThe status string to parse.
statusPointer to GNSS_solution_status_enum_t where the status will be stored.
Returns
Returns 0 on success, 1 if the status string is unrecognized.
Here is the caller graph for this function:

◆ GNSS_utc_status_enum_to_string()

const char * GNSS_utc_status_enum_to_string ( GNSS_utc_status_enum_t status)

Assigns a string value based on the provided GNSS UTC status.

Parameters
statusGNSS_utc_status_enum_t value.
Returns
Returns the assigned string value for the GNSS_utc_status_enum_t.
Here is the caller graph for this function:

◆ GNSS_utc_status_str_to_enum()

uint8_t GNSS_utc_status_str_to_enum ( const char * status_str,
GNSS_utc_status_enum_t * status )

Assigns a GNSS UTC status based on the provided string.

Parameters
status_strThe status string to parse.
statusPointer to GNSS_utc_status_enum_t where the status will be stored.
Returns
Returns 0 on success, 1 if the status string is unrecognized.
Here is the caller graph for this function: