Zephyr API 3.6.99
Loading...
Searching...
No Matches
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)
 Enables the UDP SMP MCUmgr transport thread(s) which will open a socket and listen to requests.
 
int smp_udp_close (void)
 Disables the UDP SMP MCUmgr transport thread(s) which will close open sockets.
 

Detailed Description

UDP transport for the MCUmgr SMP protocol.

Function Documentation

◆ smp_udp_close()

int smp_udp_close ( void )

Disables the UDP SMP MCUmgr transport thread(s) which will close open sockets.

Note
API is not thread safe.
Returns
0 on success
-errno code on failure.

◆ smp_udp_open()

int smp_udp_open ( void )

Enables the UDP SMP MCUmgr transport thread(s) which will open a socket and listen to requests.

Note
API is not thread safe.
Returns
0 on success
-errno code on failure.