Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ NRF_EDGEAI_OBSV_ENCODE_LIST_BUF_SIZE

#define NRF_EDGEAI_OBSV_ENCODE_LIST_BUF_SIZE ( n)

#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_encode_sizes.h>

Value:
(_NRF_EDGEAI_OBSV_ENCODE_LIST_ARRAY_OVERHEAD + (n) * NRF_EDGEAI_OBSV_ENCODE_MAX_SIZE)
#define NRF_EDGEAI_OBSV_ENCODE_MAX_SIZE
Largest encoded observability CBOR payload (bytes) for one context.
Definition nrf_edgeai_obsv_encode_sizes.h:243

Buffer size (bytes) required for an obsv-list encoding of n contexts.

Use this to size any buffer passed to nrf_edgeai_obsv_encode_list.

Parameters
nNumber of observability contexts to encode.