|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Event callback structure. More...
#include <ipc_service.h>
Data Fields | |
| void(* | bound )(void *priv) |
| Bind was successful. | |
| void(* | received )(const void *data, size_t len, void *priv) |
| New packet arrived. | |
| void(* | error )(const char *message, void *priv) |
| An error occurred. | |
Event callback structure.
It is registered during endpoint registration. This structure is part of the endpoint configuration.
| void(* ipc_service_cb::bound) (void *priv) |
Bind was successful.
This callback is called when the endpoint binding is successful.
| [in] | priv | Private user data. |
| void(* ipc_service_cb::error) (const char *message, void *priv) |
An error occurred.
| [in] | message | Error message. |
| [in] | priv | Private user data. |
| void(* ipc_service_cb::received) (const void *data, size_t len, void *priv) |
New packet arrived.
This callback is called when new data is received.
| [in] | data | Pointer to data buffer. |
| [in] | len | Length of data. |
| [in] | priv | Private user data. |