![]() |
nrfxlib API 3.3.99
|
| int nrf_rpc_bind | ( | void | ) |
#include <nrf_rpc/include/nrf_rpc.h>
Binds the nRF RPC groups.
Sends an initializaton packet to the peer for each group defined with the NRF_RPC_FLAGS_INITIATOR flag. It then waits until all groups defined with the NRF_RPC_FLAGS_WAIT_ON_INIT flag have been bound.
A group is considered bound when an initialization packet for that group is received from the peer, indicating the numerical identifier assigned to the group by the peer.
The function may time out if some groups are not bound within the duration specified by the CONFIG_NRF_RPC_GROUP_INIT_WAIT_TIME Kconfig option.