Go to the source code of this file.
|
enum | coap_type_t { COAP_TYPE_CON = 0,
COAP_TYPE_NON = 1,
COAP_TYPE_ACK = 2,
COAP_TYPE_RES = 3
} |
|
enum | coap_code_t {
COAP_CODE_EMPTY = 0,
COAP_CODE_REQ_GET = 1,
COAP_CODE_REQ_POST = 2,
COAP_CODE_REQ_PUT = 3,
COAP_CODE_REQ_DELETE = 4,
COAP_CODE_RESP_CREATED = 65,
COAP_CODE_RESP_DELETED = 66,
COAP_CODE_RESP_VALID = 67,
COAP_CODE_RESP_CHANGED = 68,
COAP_CODE_RESP_CONTENT = 69,
COAP_CODE_RESP_BADREQ = 128,
COAP_CODE_RESP_UNAUTHORIZED = 129,
COAP_CODE_RESP_BADOPTION = 130,
COAP_CODE_RESP_FORBIDDEN = 131,
COAP_CODE_RESP_NOTFOUND = 132,
COAP_CODE_RESP_METHODNOTALLOWED = 133,
COAP_CODE_RESP_PRECONDFAILED = 140,
COAP_CODE_RESP_REQTOOLARGE = 141,
COAP_CODE_RESP_UNSUPPMEDIATYPE = 143,
COAP_CODE_RESP_SERVERERROR = 160,
COAP_CODE_RESP_NOTIMPLEMENTED = 161,
COAP_CODE_RESP_BADGATEWAY = 162,
COAP_CODE_RESP_UNAVAILABLE = 163,
COAP_CODE_RESP_GWTIMEOUT = 164,
COAP_CODE_RESP_PROXYINGNOTSUPP = 165
} |
|
enum | coap_option_t {
COAP_OPTION_NONE = 0,
COAP_OPTION_NUM_IFMATCH = 1,
COAP_OPTION_NUM_URIHOST = 3,
COAP_OPTION_NUM_ETAG = 4,
COAP_OPTION_NUM_IFNONEMATCH = 5,
COAP_OPTION_NUM_URIPORT = 7,
COAP_OPTION_NUM_LOCATIONPATH = 8,
COAP_OPTION_NUM_URIPATH = 11,
COAP_OPTION_NUM_CONTENTFORMAT = 12,
COAP_OPTION_NUM_MAXAGE = 14,
COAP_OPTION_NUM_URIQUERY = 15,
COAP_OPTION_NUM_ACCEPT = 16,
COAP_OPTION_NUM_LOCATIONQUERY = 20,
COAP_OPTION_NUM_PROXYURI = 35,
COAP_OPTION_NUM_PROXYSCHEME = 39
} |
|
enum | coap_media_type_t {
COAP_MEDTYPE_TEXTPLAIN = 0,
COAP_MEDTYPE_APPLINKFORMAT = 40,
COAP_MEDTYPE_APPXML = 41,
COAP_MEDTYPE_APPOCTETSTREAM = 42,
COAP_MEDTYPE_APPEXI = 47,
COAP_MEDTYPE_APPJSON = 50
} |
|