CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
gnss_telecommand_defs.h File Reference
#include <stdint.h>
Include dependency graph for gnss_telecommand_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t TCMDEXEC_gnss_send_cmd_ascii (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Send a command to the GNSS and receive the response as ASCII.
uint8_t TCMDEXEC_gnss_send_cmd_ascii_get_response_hex (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Send a command to the GNSS (text) and receive the response as hex.
uint8_t TCMDEXEC_gnss_enable_firehose_storage_mode (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
uint8_t TCMDEXEC_gnss_disable_firehose_storage_mode (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
 Disables the GNSS firehose storage mode (closes the firehose file).

Function Documentation

◆ TCMDEXEC_gnss_disable_firehose_storage_mode()

uint8_t TCMDEXEC_gnss_disable_firehose_storage_mode ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Disables the GNSS firehose storage mode (closes the firehose file).

Parameters
args_strNo args.
Returns
0: Success, >0: Failure
Note
This telecommand does not control EPS power. You must disable the GNSS power afterwards.
Here is the call graph for this function:

◆ TCMDEXEC_gnss_enable_firehose_storage_mode()

uint8_t TCMDEXEC_gnss_enable_firehose_storage_mode ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )
Here is the call graph for this function:

◆ TCMDEXEC_gnss_send_cmd_ascii()

uint8_t TCMDEXEC_gnss_send_cmd_ascii ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Send a command to the GNSS and receive the response as ASCII.

Parameters
args_str
  • Arg 0: Log command to be sent to GNSS eg "log bestxyza once" (string)
response_output_bufThe buffer to write the response to
response_output_buf_lenThe maximum length of the response_output_buf (its size)
Returns
0 on success, > 0 error
Here is the call graph for this function:

◆ TCMDEXEC_gnss_send_cmd_ascii_get_response_hex()

uint8_t TCMDEXEC_gnss_send_cmd_ascii_get_response_hex ( const char * args_str,
char * response_output_buf,
uint16_t response_output_buf_len )

Send a command to the GNSS (text) and receive the response as hex.

Parameters
args_str
  • Arg 0: Log command to be sent to GNSS eg "log bestxyzb once" (string)
response_output_bufThe buffer to write the response to (output as hex)
response_output_buf_lenThe maximum length of the response_output_buf (its size)
Returns
0 on success, > 0 error
Here is the call graph for this function: