Zephyr Project API 4.2.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
14#ifndef ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
15#define ZEPHYR_INCLUDE_MGMT_SMP_UDP_H_
16
24#ifdef __cplusplus
25extern "C" {
26#endif
27
37int smp_udp_open(void);
38
47int smp_udp_close(void);
48
49#ifdef __cplusplus
50}
51#endif
52
57#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.