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

◆ NRF_CLOUD_OBJ_TYPE_VALID

#define NRF_CLOUD_OBJ_TYPE_VALID ( _obj_ptr)

#include <include/net/nrf_cloud_codec.h>

Value:
(bool)((_obj_ptr != NULL) && \
(_obj_ptr->type > NRF_CLOUD_OBJ_TYPE__UNDEFINED) && \
(_obj_ptr->type < NRF_CLOUD_OBJ_TYPE__LAST))
@ NRF_CLOUD_OBJ_TYPE__LAST
Definition nrf_cloud_codec.h:43
@ NRF_CLOUD_OBJ_TYPE__UNDEFINED
Definition nrf_cloud_codec.h:35

Check if the provided object is a valid nRF Cloud codec object type.

Parameters
_obj_ptrObject to check for a valid type.
Return values
trueType is valid.
falseType is invalid.