|
K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
|
#include <stdbool.h>#include <stdint.h>Data Structures | |
| struct | kfsw_uart_info |
| struct | kfsw_uart_test_result |
Types | |
| typedef bool(* | kfsw_uart_visitor_t) (const struct kfsw_uart_info *uart_info, void *context) |
Functions | |
| void | kfsw_uart_get_info (struct kfsw_uart_info *info) |
| void | kfsw_uart_visit (kfsw_uart_visitor_t visitor, void *context) |
| int | kfsw_uart_test (uint32_t timeout_ms, struct kfsw_uart_test_result *test_result) |
| int | kfsw_uart_test_peer (uint16_t peer, uint32_t timeout_ms, struct kfsw_uart_test_result *test_result) |
UART/KISS status and peer tests.
| void kfsw_uart_get_info | ( | struct kfsw_uart_info * | info | ) |
Read the first CSP UART configuration for legacy one-interface callers.
| int kfsw_uart_test | ( | uint32_t | timeout_ms, |
| struct kfsw_uart_test_result * | test_result | ||
| ) |
Ping the configured peer after verifying that its route uses this UART.
| int kfsw_uart_test_peer | ( | uint16_t | peer, |
| uint32_t | timeout_ms, | ||
| struct kfsw_uart_test_result * | test_result | ||
| ) |
Ping a peer and report the KISS/UART interface selected by the CSP route.
| void kfsw_uart_visit | ( | kfsw_uart_visitor_t | visitor, |
| void * | context | ||
| ) |
Visit every independently configured CSP KISS/UART interface.