|
CTS-SAT-1-OBC-Firmware
|
#include <stdint.h>

Go to the source code of this file.
Enumerations | |
| enum | GNSS_rx_mode_enum_t { GNSS_RX_MODE_COMMAND_MODE , GNSS_RX_MODE_FIREHOSE_MODE , GNSS_RX_MODE_DISABLED } |
Functions | |
| uint8_t | GNSS_send_cmd_get_response (const char *cmd_buf, uint8_t cmd_buf_len, uint8_t rx_buf[], const uint16_t rx_buf_max_size, uint16_t *rx_buf_len_dest, uint8_t remove_null_bytes_in_middle) |
| Sends a log command to the GNSS, and receives the response. | |
| const char * | GNSS_rx_mode_enum_to_str (GNSS_rx_mode_enum_t rx_mode) |
Variables | |
| GNSS_rx_mode_enum_t | GNSS_current_rx_mode |
| enum GNSS_rx_mode_enum_t |
| const char * GNSS_rx_mode_enum_to_str | ( | GNSS_rx_mode_enum_t | rx_mode | ) |

| uint8_t GNSS_send_cmd_get_response | ( | const char * | cmd_buf, |
| uint8_t | cmd_buf_len, | ||
| uint8_t | rx_buf[], | ||
| const uint16_t | rx_buf_max_size, | ||
| uint16_t * | rx_buf_len_dest, | ||
| uint8_t | remove_null_bytes_in_middle ) |
Sends a log command to the GNSS, and receives the response.
| cmd_buf | Log command string to send to the GNSS, without EOL characters. |
| cmd_buf_len | Exact length of the log command string. |
| rx_buf | Buffer to store the response (not necessarily null terminated). |
| rx_buf_max_size | Size of the response buffer. |
| rx_buf_len_dest | Pointer to place to store the length of the response buffer (not necessarily null terminated). |
| remove_null_bytes_in_middle | If non-zero, remove any null bytes in the middle of the response. |


|
extern |