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

◆ nrf_rpc_scratchpad_add()

static void * nrf_rpc_scratchpad_add ( struct nrf_rpc_scratchpad scratchpad,
size_t  size 
)
inlinestatic

#include <include/nrf_rpc/nrf_rpc_serialize.h>

Get the scratchpad item of a given size. The scratchpad item size will be round up to multiple of 4.

Parameters
[in]scratchpadScratchpad.
[in]sizeScratchpad item size.
Return values
Pointerto the scratchpad item data.