Enum anj_send_content_format_t

Enum Documentation

enum anj_send_content_format_t

Content format of the Send payload.

Requires the corresponding build-time support to be enabled.

  • SenML CBOR supports timestamps (useful for time series).

  • LwM2M CBOR is typically more compact; paths must be unique within one payload (duplicate paths are invalid even if timestamps differ).

Values:

enumerator ANJ_SEND_CONTENT_FORMAT_SENML_CBOR
enumerator ANJ_SEND_CONTENT_FORMAT_LWM2M_CBOR