Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
MCUmgr OS management client API . More...
Data Structures | |
struct | os_mgmt_client |
OS mgmt client object. More... | |
Functions | |
void | os_mgmt_client_init (struct os_mgmt_client *client, struct smp_client_object *smp_client) |
Initialize OS management 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. | |
MCUmgr OS management client API .
int os_mgmt_client_echo | ( | struct os_mgmt_client * | client, |
const char * | echo_string, | ||
size_t | max_len ) |
#include <zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt_client.h>
Send SMP message for Echo command.
client | OS mgmt client object |
echo_string | Echo string |
max_len | Max length of echo_string |
void os_mgmt_client_init | ( | struct os_mgmt_client * | client, |
struct smp_client_object * | smp_client ) |
#include <zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt_client.h>
Initialize OS management client.
client | OS mgmt client object |
smp_client | SMP client object |
int os_mgmt_client_reset | ( | struct os_mgmt_client * | client | ) |
#include <zephyr/mgmt/mcumgr/grp/os_mgmt/os_mgmt_client.h>
Send SMP Reset command.
client | OS mgmt client object |