11#ifndef ZEPHYR_INCLUDE_MGMT_SMP_SHELL_H_
12#define ZEPHYR_INCLUDE_MGMT_SMP_SHELL_H_
20#define SMP_SHELL_RX_BUF_SIZE 127
long atomic_t
Definition: atomic_types.h:15
int smp_shell_init(void)
Initializes SMP transport over shell.
void smp_shell_process(struct smp_shell_data *data)
Processes SMP data and executes command if full frame was received.
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.
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88
Definition: kernel.h:2391
Network buffer pool representation.
Definition: buf.h:1076
Network buffer representation.
Definition: buf.h:1004
uint16_t size
Amount of data that this buffer can store.
Definition: buf.h:1036
uint8_t * data
Pointer to the start of data in the buffer.
Definition: buf.h:1030
Data used by SMP shell.
Definition: smp_shell.h:23
struct net_buf * buf
Definition: smp_shell.h:26
struct k_fifo buf_ready
Definition: smp_shell.h:25
struct net_buf_pool * buf_pool
Definition: smp_shell.h:24
atomic_t esc_state
Definition: smp_shell.h:27