Zephyr API Documentation  3.6.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
7#ifndef H_OS_MGMT_CLIENT_
8#define H_OS_MGMT_CLIENT_
9
10#include <inttypes.h>
12
20#ifdef __cplusplus
21extern "C" {
22#endif
23
31 int status;
32};
33
41void os_mgmt_client_init(struct os_mgmt_client *client, struct smp_client_object *smp_client);
42
53int os_mgmt_client_echo(struct os_mgmt_client *client, const char *echo_string, size_t max_len);
54
64
69#ifdef __cplusplus
70}
71#endif
72
73#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.
OS mgmt client object.
Definition: os_mgmt_client.h:27
int status
Command status.
Definition: os_mgmt_client.h:31
struct smp_client_object * smp_client
SMP client object
Definition: os_mgmt_client.h:29
SMP client object.
Definition: smp_client.h:26