Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Shell transport for the mcumgr SMP protocol. More...

#include <zephyr/kernel.h>
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  smp_shell_data
 Data used by SMP shell. More...
 

Macros

#define SMP_SHELL_RX_BUF_SIZE   127
 

Functions

size_t smp_shell_rx_bytes (struct smp_shell_data *data, const uint8_t *bytes, size_t size)
 Attempt to process received bytes as part of an SMP frame.
 
void smp_shell_process (struct smp_shell_data *data)
 Processes SMP data and executes command if full frame was received.
 
int smp_shell_init (void)
 Initializes SMP transport over shell.
 

Detailed Description

Shell transport for the mcumgr SMP protocol.