114 COAP_CODE_EMPTY = COAP_CODE(0, 0),
115 COAP_CODE_GET = COAP_CODE(0, 1),
116 COAP_CODE_POST = COAP_CODE(0, 2),
117 COAP_CODE_PUT = COAP_CODE(0, 3),
118 COAP_CODE_DELETE = COAP_CODE(0, 4),
119 COAP_CODE_FETCH = COAP_CODE(0, 5),
120 COAP_CODE_PATCH = COAP_CODE(0, 6),
121 COAP_CODE_IPATCH = COAP_CODE(0, 7),
122 COAP_CODE_CREATED = COAP_CODE(2, 1),
123 COAP_CODE_DELETED = COAP_CODE(2, 2),
124 COAP_CODE_VALID = COAP_CODE(2, 3),
125 COAP_CODE_CHANGED = COAP_CODE(2, 4),
126 COAP_CODE_CONTENT = COAP_CODE(2, 5),
127 COAP_CODE_CONTINUE = COAP_CODE(2, 31),
128 COAP_CODE_BAD_REQUEST = COAP_CODE(4, 0),
129 COAP_CODE_UNAUTHOZED = COAP_CODE(4, 1),
130 COAP_CODE_BAD_OPTION = COAP_CODE(4, 2),
131 COAP_CODE_FORBIDDEN = COAP_CODE(4, 3),
132 COAP_CODE_NOT_FOUND = COAP_CODE(4, 4),
133 COAP_CODE_METHOD_NOT_ALLOWED = COAP_CODE(4, 5),
134 COAP_CODE_NOT_ACCEPTABLE = COAP_CODE(4, 6),
135 COAP_CODE_REQUEST_ENTITY_INCOMPLETE = COAP_CODE(4, 8),
136 COAP_CODE_CONFLICT = COAP_CODE(4, 9),
137 COAP_CODE_PRECONDITION_FAILED = COAP_CODE(4, 12),
138 COAP_CODE_REQUEST_ENTITY_TO_LARGE = COAP_CODE(4, 13),
139 COAP_CODE_UNSUPPORTED_CONTENT_FORMAT = COAP_CODE(4, 15),
140 COAP_CODE_UNPROCESSABLE_ENTITY = COAP_CODE(4, 22),
141 COAP_CODE_INTERNAL_SERVER = COAP_CODE(5, 0),
142 COAP_CODE_NOT_IMPLEMENTED = COAP_CODE(5, 1),
143 COAP_CODE_BAD_GATEWAY = COAP_CODE(5, 2),
144 COAP_CODE_SERVICE_UNAVAILABLE = COAP_CODE(5, 3),
145 COAP_CODE_GATEWAY_TIMEOUT = COAP_CODE(5, 4),
146 COAP_CODE_PROXYING_NOT_SUPPORTED = COAP_CODE(5, 5),
147 COAP_CODE_HOP_LIMIT_REACHED = COAP_CODE(5, 8),
148 COAP_CODE_CSM = COAP_CODE(7, 1),
149 COAP_CODE_PING = COAP_CODE(7, 2),
150 COAP_CODE_PONG = COAP_CODE(7, 3),
151 COAP_CODE_RELEASE = COAP_CODE(7, 4),
152 COAP_CODE_ABORT = COAP_CODE(7, 5)