nRF Connect SDK API 0.1.0
|
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).
[in,out] | ctx | CBOR encoding context. |
[in] | callback | Callback to encode. |