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

◆ NRF_CLOUD_OBJ_DEFINE

#define NRF_CLOUD_OBJ_DEFINE (   _name,
  _type 
)

#include <include/net/nrf_cloud_codec.h>

Value:
struct nrf_cloud_obj _name = { 0 }; \
_name.type = _type; \
@ NRF_CLOUD_ENC_SRC_NONE
Definition: nrf_cloud_codec.h:49
enum nrf_cloud_enc_src enc_src
Definition: nrf_cloud_codec.h:93
enum nrf_cloud_obj_type type
Definition: nrf_cloud_codec.h:86
Object used for building nRF Cloud messages.
Definition: nrf_cloud_codec.h:84

Define an nRF Cloud codec object of the specified type.

Parameters
_nameName of the object.
_typeType of the object.