3 * Copyright (c) 2020 Project CHIP Authors
4 * Copyright (c) 2018 Nest Labs, Inc.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 #define CHIP_DEVICE_ERROR_MIN 11000000
22 #define CHIP_DEVICE_ERROR_MAX 11000999
23 #define _CHIP_DEVICE_ERROR(e) (CHIP_DEVICE_ERROR_MIN + (e))
26 * @def CHIP_DEVICE_ERROR_CONFIG_NOT_FOUND
29 * The requested configuration value was not found.
32 #define CHIP_DEVICE_ERROR_CONFIG_NOT_FOUND _CHIP_DEVICE_ERROR(1)
35 * @def CHIP_DEVICE_ERROR_NOT_SERVICE_PROVISIONED
38 * The device has not been service provisioned.
41 #define CHIP_DEVICE_ERROR_NOT_SERVICE_PROVISIONED _CHIP_DEVICE_ERROR(2)
44 * @def CHIP_DEVICE_ERROR_SOFTWARE_UPDATE_ABORTED
47 * The software update was aborted by application
50 #define CHIP_DEVICE_ERROR_SOFTWARE_UPDATE_ABORTED _CHIP_DEVICE_ERROR(3)
53 * @def CHIP_DEVICE_ERROR_SOFTWARE_UPDATE_IGNORED
56 * The software update was ignored by application.
59 #define CHIP_DEVICE_ERROR_SOFTWARE_UPDATE_IGNORED _CHIP_DEVICE_ERROR(4)