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

◆ nrf_cloud_topic_type

#include <include/net/nrf_cloud.h>

Topic types supported by nRF Cloud.

Enumerator
NRF_CLOUD_TOPIC_STATE 

Endpoint used to update the cloud-side device shadow state .

NRF_CLOUD_TOPIC_MESSAGE 

Endpoint used to directly message the nRF Cloud Web UI.

NRF_CLOUD_TOPIC_BULK 

Endpoint used to publish bulk messages to nRF Cloud. Bulk messages combine multiple messages into a single message that will be unwrapped and re-published to the message topic in the nRF Cloud backend.

NRF_CLOUD_TOPIC_BIN 

Endpoint used to publish binary data to nRF Cloud for certain services. One example is dictionary formatted logs enabled by

CONFIG_LOG_BACKEND_NRF_CLOUD_OUTPUT_DICTIONARY 

, which enables the Zephyr option

CONFIG_LOG_DICTIONARY_SUPPORT 

. Binary data published to this topic should be prefixed by the binary header structure defined in nrf_cloud_codec.h - struct nrf_cloud_bin_hdr. A unique format value should be included to distinguish this data from binary logging.