Content deleted Content added
English only capitalizes proper nouns |
|||
Line 84:
| colspan="5" |Code
|}
The three most significant bits form a number known as the "class", which is analogous to the [[List of HTTP status codes|class of HTTP status codes]]. The five least significant bits form a code that communicates further detail about the request or response. The entire code is typically communicated in the form <code>class.code</code> .
You can find the latest CoAP request/response codes at [https://www.iana.org/assignments/core-parameters/core-parameters.xhtml#codes], though the below list gives some examples:
{{colbegin|colwidth=22em}}
* Method: 0.XX {{ordered list|start=0▼
▲{{ordered list|start=0
| EMPTY
| GET
Line 101 ⟶ 99:
| iPATCH
}}
* Success: 2.XX {{ordered list|▼
▲{{ordered list|
| Created
| Deleted
Line 113 ⟶ 108:
| Continue
}}
* Client Error: 4.XX {{ordered list|start=0▼
▲{{ordered list|start=0
| Bad Request
| Unauthorized
Line 134 ⟶ 125:
| Unsupported Content-Format
}}
* Server Error: 5.XX {{ordered list|start=0▼
▲{{ordered list|start=0
| Internal Server Error
| Not Implemented
Line 146 ⟶ 133:
| Proxying Not Supported
}}
* Signaling Codes: 7.XX {{ordered list|start=0▼
▲{{ordered list|start=0
| Unassigned
| CSM
Line 157 ⟶ 141:
| Abort
}}
{{colend}}
==== Message ID (16 bits) ====
|