31#include <zcbor_common.h>
43 zcbor_state_t
zs[CONFIG_MCUMGR_SMP_CBOR_MAX_DECODING_LEVELS + 2];
74#ifdef CONFIG_MCUMGR_SMP_VERBOSE_ERR_RESPONSE
int smp_process_request_packet(struct smp_streamer *streamer, void *req)
Processes a single SMP request packet and sends all corresponding responses.
struct net_buf * smp_packet_alloc(void)
Allocates a net_buf for holding an mcumgr request or response.
void smp_packet_free(struct net_buf *nb)
Frees an mcumgr net_buf.
struct net_buf * nb
Definition: smp.h:39
zcbor_state_t zs[CONFIG_MCUMGR_SMP_CBOR_MAX_DECODING_LEVELS+2]
Definition: smp.h:43
zcbor_state_t zs[2]
Definition: smp.h:48
struct net_buf * nb
Definition: smp.h:47
Network buffer representation.
Definition: buf.h:905
Decodes, encodes, and transmits SMP packets.
Definition: smp.h:69
struct cbor_nb_writer * writer
Definition: smp.h:72
struct smp_transport * smpt
Definition: smp.h:70
struct cbor_nb_reader * reader
Definition: smp.h:71
SMP transport object for sending SMP responses.
Definition: smp.h:106