Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
os_mgmt_client.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef H_OS_MGMT_CLIENT_
14#define H_OS_MGMT_CLIENT_
15
16#include <inttypes.h>
18
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
39
47void os_mgmt_client_init(struct os_mgmt_client *client, struct smp_client_object *smp_client);
48
59int os_mgmt_client_echo(struct os_mgmt_client *client, const char *echo_string, size_t max_len);
60
70
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* H_OS_MGMT_CLIENT_ */
int os_mgmt_client_echo(struct os_mgmt_client *client, const char *echo_string, size_t max_len)
Send SMP message for Echo command.
int os_mgmt_client_reset(struct os_mgmt_client *client)
Send SMP Reset command.
void os_mgmt_client_init(struct os_mgmt_client *client, struct smp_client_object *smp_client)
Initialize OS management client.
Header file for the MCUmgr SMP client API.
OS mgmt client object.
Definition os_mgmt_client.h:33
int status
Command status.
Definition os_mgmt_client.h:37
struct smp_client_object * smp_client
SMP client object.
Definition os_mgmt_client.h:35
SMP client object.
Definition smp_client.h:32