Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
smp_udp.h File Reference

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

Go to the source code of this file.

Functions

int smp_udp_open (void)
 Opens a UDP socket for the SMP UDP service. More...
 
int smp_udp_close (void)
 Closes the UDP socket for the SMP UDP service. More...
 

Detailed Description

UDP transport for the mcumgr SMP protocol.

Function Documentation

◆ smp_udp_close()

int smp_udp_close ( void  )

Closes the UDP socket for the SMP UDP service.

Returns
0 on success; negative error code on failure.

◆ smp_udp_open()

int smp_udp_open ( void  )

Opens a UDP socket for the SMP UDP service.

Returns
0 on success; negative error code on failure.