13#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_MCUMGR_H_
14#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_UART_MCUMGR_H_
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Contains an mcumgr fragment received over UART.
Definition uart_mcumgr.h:26
int length
Definition uart_mcumgr.h:29
uint8_t data[CONFIG_UART_MCUMGR_RX_BUF_SIZE]
Definition uart_mcumgr.h:28
void * fifo_reserved
Definition uart_mcumgr.h:27
void uart_mcumgr_recv_fn(struct uart_mcumgr_rx_buf *rx_buf)
Function that gets called when an mcumgr packet is received.
Definition uart_mcumgr.h:41
void uart_mcumgr_register(uart_mcumgr_recv_fn *cb)
Registers an mcumgr UART receive handler.
int uart_mcumgr_send(const uint8_t *data, int len)
Sends an mcumgr packet over UART.
void uart_mcumgr_free_rx_buf(struct uart_mcumgr_rx_buf *rx_buf)
Frees the supplied receive buffer.