Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
smp_udp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019, Prevas A/S
3 * Copyright (c) 2023 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
13#ifndef ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
14#define ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
29int smp_udp_open(void);
30
39int smp_udp_close(void);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif
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.