Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
ipc_service_cb Struct Reference

Event callback structure. More...

#include <ipc_service.h>

Data Fields

void(* bound )(void *priv)
 Bind was successful. More...
 
void(* received )(const void *data, size_t len, void *priv)
 New packet arrived. More...
 
void(* error )(const char *message, void *priv)
 An error occurred. More...
 

Detailed Description

Event callback structure.

It is registered during endpoint registration. This structure is part of the endpoint configuration.

Field Documentation

◆ bound

void(* ipc_service_cb::bound) (void *priv)

Bind was successful.

Parameters
privPrivate user data.

◆ error

void(* ipc_service_cb::error) (const char *message, void *priv)

An error occurred.

Parameters
messageError message.
privPrivate user data.

◆ received

void(* ipc_service_cb::received) (const void *data, size_t len, void *priv)

New packet arrived.

Parameters
dataPointer to data buffer.
lenLength of data.
privPrivate user data.

The documentation for this struct was generated from the following file: