CTS-SAT-1-OBC-Firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
firmware
Core
Inc
telecommands
uart_telecommand_defs.h
Go to the documentation of this file.
1
#ifndef INCLUDE_GUARD__UART_TELECOMMAND_DEFS_H__
2
#define INCLUDE_GUARD__UART_TELECOMMAND_DEFS_H__
3
4
#include "
telecommand_exec/telecommand_definitions.h
"
5
6
uint8_t
TCMDEXEC_uart_send_hex_get_response_hex
(
7
const
char
*args_str,
8
char
*response_output_buf, uint16_t response_output_buf_len
9
);
10
11
uint8_t
TCMDEXEC_uart_send_hex
(
12
const
char
*args_str,
13
char
*response_output_buf, uint16_t response_output_buf_len
14
);
15
16
uint8_t
TCMDEXEC_uart_send_str
(
17
const
char
*args_str,
18
char
*response_output_buf, uint16_t response_output_buf_len
19
);
20
21
uint8_t
TCMDEXEC_uart_get_last_rx_times_json
(
22
const
char
*args_str,
23
char
*response_output_buf,
24
uint16_t response_output_buf_len
25
);
26
27
uint8_t
TCMDEXEC_uart_set_baud_rate
(
28
const
char
*args_str,
29
char
*response_output_buf,
30
uint16_t response_output_buf_len
31
);
32
33
#endif
/* INCLUDE_GUARD__UART_TELECOMMAND_DEFS_H__*/
telecommand_definitions.h
TCMDEXEC_uart_send_hex_get_response_hex
uint8_t TCMDEXEC_uart_send_hex_get_response_hex(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Send arbitrary commands to a UART peripheral, and receive the response.
Definition
uart_telelecommand_defs.c:39
TCMDEXEC_uart_get_last_rx_times_json
uint8_t TCMDEXEC_uart_get_last_rx_times_json(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Get a JSON dict of how long, in ms, SINCE each UART ISR handler was last triggered.
Definition
uart_telelecommand_defs.c:498
TCMDEXEC_uart_send_hex
uint8_t TCMDEXEC_uart_send_hex(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Send arbitrary commands to a UART peripheral.
Definition
uart_telelecommand_defs.c:374
TCMDEXEC_uart_send_str
uint8_t TCMDEXEC_uart_send_str(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Send arbitrary commands to a UART peripheral.
Definition
uart_telelecommand_defs.c:442
TCMDEXEC_uart_set_baud_rate
uint8_t TCMDEXEC_uart_set_baud_rate(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Definition
uart_telelecommand_defs.c:545
Generated by
1.17.0