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

◆ nrf_rpc_encode_callback()

void nrf_rpc_encode_callback ( struct nrf_rpc_cbor_ctx * ctx,
void * callback )

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Encode a callback.

This function will use callback proxy module to convert a callback pointer to an integer value (slot number).

Parameters
[in,out]ctxCBOR encoding context.
[in]callbackCallback to encode.