CoAP common.
More...
#include <CoAP.hpp>
|
enum | Media_t {
MEDIA_TEXT_PLAIN = 0,
MEDIA_APP_COSE_ENC0 = 16,
MEDIA_APP_COSE_MAC0 = 17,
MEDIA_APP_COSE_SIGN1 = 18,
MEDIA_APP_LINK_FORMAT = 40,
MEDIA_APP_XML = 41,
MEDIA_APP_OCTET_STREAM = 42,
MEDIA_APP_EXI = 47,
MEDIA_APP_JSON = 50,
MEDIA_APP_JSON_PATCH_JSON = 51,
MEDIA_APP_MERGE_PATCH_JSON = 52,
MEDIA_APP_CBOR = 60,
MEDIA_APP_CWT = 61,
MEDIA_APP_COSE_ENC = 96,
MEDIA_APP_COSE_MAC = 97,
MEDIA_APP_COSE_SIGN = 98,
MEDIA_APP_COSE_KEY = 101,
MEDIA_APP_COSE_KEY_SET = 102,
MEDIA_APP_SENML_JSON = 110,
MEDIA_APP_SENSML_JSON = 111,
MEDIA_APP_SENML_CBOR = 112,
MEDIA_APP_SENSML_CBOR = 113,
MEDIA_APP_SENML_EXI = 114,
MEDIA_APP_SENSML_EXI = 115,
MEDIA_APP_COAP_GROUP_JSON = 116,
MEDIA_APP_SENML_XML = 310,
MEDIA_APP_SENSML_XML = 311,
MEDIA_APP_VND_OCF_CBOR = 10000,
MEDIA_APP_VND_OMA_LWM2M_TLV = 11542,
MEDIA_APP_VND_OMA_LWM2M_JSON = 11543
} |
| Media type (content format) More...
|
|
enum | Method_t { GET = 1,
POST = 2,
PUT = 3,
DELETE = 4
} |
| Method type. More...
|
|
◆ Media_t
Media type (content format)
Defined by IANA
Enumerator |
---|
MEDIA_TEXT_PLAIN | text/plain; charset=utf-8
|
MEDIA_APP_COSE_ENC0 | application/cose; cose-type="cose-encrypt0"
|
MEDIA_APP_COSE_MAC0 | application/cose; cose-type="cose-mac0"
|
MEDIA_APP_COSE_SIGN1 | application/cose; cose-type="cose-sign1"
|
MEDIA_APP_LINK_FORMAT | application/link-format
|
MEDIA_APP_XML | application/xml
|
MEDIA_APP_OCTET_STREAM | application/octet-stream
|
MEDIA_APP_EXI | application/exi
|
MEDIA_APP_JSON | application/json
|
MEDIA_APP_JSON_PATCH_JSON | application/json-patch+json
|
MEDIA_APP_MERGE_PATCH_JSON | application/merge-patch+json
|
MEDIA_APP_CBOR | applicaiton/cbor
|
MEDIA_APP_CWT | application/cwt
|
MEDIA_APP_COSE_ENC | application/cose; cose-type="cose-encrypt"
|
MEDIA_APP_COSE_MAC | application/cose; cose-type="cose-mac"
|
MEDIA_APP_COSE_SIGN | application/cose; cose-type="cose-sign"
|
MEDIA_APP_COSE_KEY | application/cose-key
|
MEDIA_APP_COSE_KEY_SET | application/cose-key-set
|
MEDIA_APP_SENML_JSON | application/senml+json
|
MEDIA_APP_SENSML_JSON | application/sensml+json
|
MEDIA_APP_SENML_CBOR | application/senml+cbor
|
MEDIA_APP_SENSML_CBOR | application/sensml+cbor
|
MEDIA_APP_SENML_EXI | application/senml-exi
|
MEDIA_APP_SENSML_EXI | application/sensml-exi
|
MEDIA_APP_COAP_GROUP_JSON | application/coap-group+json
|
MEDIA_APP_SENML_XML | application/senml+xml
|
MEDIA_APP_SENSML_XML | application/sensml+xml
|
MEDIA_APP_VND_OCF_CBOR | application/vnd.ocf+cbor
|
MEDIA_APP_VND_OMA_LWM2M_TLV | application/vnd.oma.lwm2m+tlv
|
MEDIA_APP_VND_OMA_LWM2M_JSON | application/vnd.oma.lwm2m+json
|
◆ Method_t
Method type.
Defined by IANA
Enumerator |
---|
GET | Code: 0.01
|
POST | Code: 0.02
|
PUT | Code: 0.03
|
DELETE | Code: 0.04
|
The documentation for this class was generated from the following file: