Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpmsg_service.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
8#define ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_
9
10#include <openamp/open_amp.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
41int rpmsg_service_register_endpoint(const char *name, rpmsg_ept_cb cb);
42
54int rpmsg_service_send(int endpoint_id, const void *data, size_t len);
55
68bool rpmsg_service_endpoint_is_bound(int endpoint_id);
69
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* ZEPHYR_INCLUDE_RPMSG_SERVICE_RPMSG_SERVICE_H_ */
int rpmsg_service_register_endpoint(const char *name, rpmsg_ept_cb cb)
Register IPC endpoint.
int rpmsg_service_send(int endpoint_id, const void *data, size_t len)
Send data using given IPC endpoint.
bool rpmsg_service_endpoint_is_bound(int endpoint_id)
Check if endpoint is bound.