Mistake on this page? Email us
coap_response.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 ARM Limited. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  * Licensed under the Apache License, Version 2.0 (the License); you may
5  * not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef COAP_RESPONSE_H
17 #define COAP_RESPONSE_H
18 
23 // Note: Don't put any C++ code into this file as this file is included from C sources.
24 
26 typedef enum {
32  COAP_RESPONSE_CONTINUE = 95,
36  COAP_RESPONSE_FORBIDDEN = 131,
37  COAP_RESPONSE_NOT_FOUND = 132,
38  COAP_RESPONSE_METHOD_NOT_ALLOWED = 133,
39  COAP_RESPONSE_NOT_ACCEPTABLE = 134,
40  COAP_RESPONSE_REQUEST_ENTITY_INCOMPLETE = 136,
41  COAP_RESPONSE_PRECONDITION_FAILED = 140,
42  COAP_RESPONSE_REQUEST_ENTITY_TOO_LARGE = 141,
43  COAP_RESPONSE_UNSUPPORTED_CONTENT_FORMAT = 143,
44  COAP_RESPONSE_INTERNAL_SERVER_ERROR = 160,
45  COAP_RESPONSE_NOT_IMPLEMENTED = 161,
46  COAP_RESPONSE_BAD_GATEWAY = 162,
47  COAP_RESPONSE_SERVICE_UNAVAILABLE = 163,
48  COAP_RESPONSE_GATEWAY_TIMEOUT = 164,
49  COAP_RESPONSE_PROXYING_NOT_SUPPORTED = 165
51 #endif
Definition: coap_response.h:29
Definition: coap_response.h:28
Definition: coap_response.h:27
Definition: coap_response.h:31
Definition: coap_response.h:34
Definition: coap_response.h:33
coap_response_code_e
Definition: coap_response.h:26
Definition: coap_response.h:30
Definition: coap_response.h:35