nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Resource content type bitmask values

Macros

#define COAP_CT_MASK_PLAIN_TEXT   0x01
 
#define COAP_CT_MASK_CHARSET_UTF8   0x02
 
#define COAP_CT_MASK_APP_LINK_FORMAT   0x04
 
#define COAP_CT_MASK_APP_XML   0x08
 
#define COAP_CT_MASK_APP_OCTET_STREAM   0x10
 
#define COAP_CT_MASK_APP_EXI   0x20
 
#define COAP_CT_MASK_APP_JSON   0x40
 

Detailed Description

Macro Definition Documentation

#define COAP_CT_MASK_APP_EXI   0x20

Content type Application/exi supported in the endpoint resource.

#define COAP_CT_MASK_APP_JSON   0x40

Content type Application/json supported in the endpoint resource.

#define COAP_CT_MASK_APP_LINK_FORMAT   0x04

Content type Application/link-format supported in the endpoint resource.

#define COAP_CT_MASK_APP_OCTET_STREAM   0x10

Content type Application/octet-stream supported in the endpoint resource.

#define COAP_CT_MASK_APP_XML   0x08

Content type Application/xml supported in the endpoint resource.

#define COAP_CT_MASK_CHARSET_UTF8   0x02

Content type Charset-UTF8 supported in the endpoint resource.

#define COAP_CT_MASK_PLAIN_TEXT   0x01

Content type Plain text supported in the endpoint resource.