UART telemetry consumer service. More...
Go to the source code of this file.
Macros | |
| #define | K_UART_CONSUMER_PRIO (3) |
| #define | K_UART_TIMEOUT_MS (1000U) |
| #define | K_UART_MAILBOX_SIZE (8U) |
Functions | |
| const SPP_SERVICE_ConsumerContract_t * | SPP_SERVICES_UART_getConsumerContract (void) |
| Get the UART consumer contract. | |
| SPP_RetVal_t | SPP_SERVICES_UART_getInitStatus (void) |
| Get the result of the last UART service init. | |
UART telemetry consumer service.
Receives every SPP packet routed by the publisher/subscriber service and transmits it over the UART port exactly as it was produced (full SPP_Packet_t, no re-framing).
Definition in file uart.h.
| #define K_UART_MAILBOX_SIZE (8U) |
Packets buffered before dropping the oldest.
Definition at line 22 of file uart.h.
Referenced by SPP_SERVICES_UART_consumeData(), and SPP_SERVICES_UART_deliverToMailbox().
| const SPP_SERVICE_ConsumerContract_t * SPP_SERVICES_UART_getConsumerContract | ( | void | ) |
Get the UART consumer contract.
Definition at line 46 of file uart.c.
References g_uartConsumerContract, and SPP_SERVICES_UART_getConsumerContract().
Referenced by SPP_SERVICES_UART_getConsumerContract().
| SPP_RetVal_t SPP_SERVICES_UART_getInitStatus | ( | void | ) |
Get the result of the last UART service init.
Definition at line 51 of file uart.c.
References s_initStatus, and SPP_SERVICES_UART_getInitStatus().
Referenced by SPP_SERVICES_UART_getInitStatus().