![]() |
nRF Connect SDK API 3.3.99
|
| int event_manager_proxy_subscribe | ( | const struct device * | instance, |
| const struct event_type * | local_event_id ) |
#include <include/event_manager_proxy.h>
Subscribe for the remote event.
This function registers the local event proxy to remote event proxy to listen selected event.
| instance | Remote IPC instance. |
| local_event_id | The id of the event we wish to receive for the event on the remote core. |
| 0 | On success. |
| -EACCES | Function called after event_manager_proxy_start. |
| -EPIPE | The remote core did not bond in during timeout period. No communication. |
| -ETIME | Timeout while waiting for the response from the other core. |
| other | errno code. |