nRF Connect SDK API 2.8.99
|
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. |