nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_rpc_stop()

void nrf_rpc_stop ( bool cleanup)

#include <nrf_rpc/include/nrf_rpc.h>

Temporarily suspend all RPC communication.

Calling this function automatically fails all communication until nrf_rpc_resume is called. It also causes all pending commands to fail immediately.

Parameters
cleanupset to true to also invoke all the custom cleanup handlers.
Note
If the cleanup parameter is set to true it may be needed to reset the peer before invoking nrf_rpc_resume.