ESP-IDF
OT_COAP_CODE
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
OT_COAP_CODE
OT_COAP_CODE macro
Helper macro to define CoAP Code values.
Syntax
Show:
Summary
Declaration
from
coap.h:82
#define
OT_COAP_CODE
(
c
,
d
)
(
(
(
(
c
)
&
0x7
)
<
<
5
)
|
(
(
d
)
&
0x1f
)
)
Arguments
Argument
c
d
Examples
References
from
examples
Code
Location
#define
OT_COAP_CODE
(
c
,
d
)
(
(
(
(
c
)
&
0x7
)
<
<
5
)
|
(
(
d
)
&
0x1f
)
)
coap.h:82
OT_COAP_CODE_EMPTY
=
OT_COAP_CODE
(
0
,
0
)
,
///< Empty message code
coap.h:89
OT_COAP_CODE_GET
=
OT_COAP_CODE
(
0
,
1
)
,
///< Get
coap.h:90
OT_COAP_CODE_POST
=
OT_COAP_CODE
(
0
,
2
)
,
///< Post
coap.h:91
OT_COAP_CODE_PUT
=
OT_COAP_CODE
(
0
,
3
)
,
///< Put
coap.h:92
OT_COAP_CODE_DELETE
=
OT_COAP_CODE
(
0
,
4
)
,
///< Delete
coap.h:93
OT_COAP_CODE_RESPONSE_MIN
=
OT_COAP_CODE
(
2
,
0
)
,
///< 2.00
coap.h:95
OT_COAP_CODE_CREATED
=
OT_COAP_CODE
(
2
,
1
)
,
///< Created
coap.h:96
OT_COAP_CODE_DELETED
=
OT_COAP_CODE
(
2
,
2
)
,
///< Deleted
coap.h:97
OT_COAP_CODE_VALID
=
OT_COAP_CODE
(
2
,
3
)
,
///< Valid
coap.h:98
OT_COAP_CODE_CHANGED
=
OT_COAP_CODE
(
2
,
4
)
,
///< Changed
coap.h:99
OT_COAP_CODE_CONTENT
=
OT_COAP_CODE
(
2
,
5
)
,
///< Content
coap.h:100
OT_COAP_CODE_CONTINUE
=
OT_COAP_CODE
(
2
,
31
)
,
///< RFC7959 Continue
coap.h:101
OT_COAP_CODE_BAD_REQUEST
=
OT_COAP_CODE
(
4
,
0
)
,
///< Bad Request
coap.h:103
OT_COAP_CODE_UNAUTHORIZED
=
OT_COAP_CODE
(
4
,
1
)
,
///< Unauthorized
coap.h:104
OT_COAP_CODE_BAD_OPTION
=
OT_COAP_CODE
(
4
,
2
)
,
///< Bad Option
coap.h:105
OT_COAP_CODE_FORBIDDEN
=
OT_COAP_CODE
(
4
,
3
)
,
///< Forbidden
coap.h:106
OT_COAP_CODE_NOT_FOUND
=
OT_COAP_CODE
(
4
,
4
)
,
///< Not Found
coap.h:107
OT_COAP_CODE_METHOD_NOT_ALLOWED
=
OT_COAP_CODE
(
4
,
5
)
,
///< Method Not Allowed
coap.h:108
OT_COAP_CODE_NOT_ACCEPTABLE
=
OT_COAP_CODE
(
4
,
6
)
,
///< Not Acceptable
coap.h:109
OT_COAP_CODE_REQUEST_INCOMPLETE
=
OT_COAP_CODE
(
4
,
8
)
,
///< RFC7959 Request Entity Incomplete
coap.h:110
OT_COAP_CODE_PRECONDITION_FAILED
=
OT_COAP_CODE
(
4
,
12
)
,
///< Precondition Failed
coap.h:111
OT_COAP_CODE_REQUEST_TOO_LARGE
=
OT_COAP_CODE
(
4
,
13
)
,
///< Request Entity Too Large
coap.h:112
OT_COAP_CODE_UNSUPPORTED_FORMAT
=
OT_COAP_CODE
(
4
,
15
)
,
///< Unsupported Content-Format
coap.h:113
OT_COAP_CODE_INTERNAL_ERROR
=
OT_COAP_CODE
(
5
,
0
)
,
///< Internal Server Error
coap.h:115
OT_COAP_CODE_NOT_IMPLEMENTED
=
OT_COAP_CODE
(
5
,
1
)
,
///< Not Implemented
coap.h:116
OT_COAP_CODE_BAD_GATEWAY
=
OT_COAP_CODE
(
5
,
2
)
,
///< Bad Gateway
coap.h:117
OT_COAP_CODE_SERVICE_UNAVAILABLE
=
OT_COAP_CODE
(
5
,
3
)
,
///< Service Unavailable
coap.h:118
OT_COAP_CODE_GATEWAY_TIMEOUT
=
OT_COAP_CODE
(
5
,
4
)
,
///< Gateway Timeout
coap.h:119
OT_COAP_CODE_PROXY_NOT_SUPPORTED
=
OT_COAP_CODE
(
5
,
5
)
,
///< Proxying Not Supported
coap.h:120
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out