nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ event_manager_proxy_add_remote()

int event_manager_proxy_add_remote ( const struct device *  instance)

#include <include/event_manager_proxy.h>

Add remote core communication channel.

This function registers endpoint used to communication with another core.

Parameters
instanceThe instance used for IPC service to transfer data between cores.
Return values
-EALREADYGiven remote instance was added already.
-ENOMEMNo place for the new endpoint. See
embed:rst:inline :kconfig:option:`CONFIG_EVENT_MANAGER_PROXY_CH_COUNT` 
.
-EIOComes from IPC service, see ipc_service_open_instance or ipc_service_register_endpoint.
-EINVALComes from IPC service, see ipc_service_open_instance or ipc_service_register_endpoint.
-EBUSYComes from IPC service, see ipc_service_register_endpoint.
0On success.
othererrno codes depending on the IPC service backend implementation.