nRF5 SDK for Mesh v4.1.0
access_status.h
1 /* Copyright (c) 2010 - 2020, Nordic Semiconductor ASA
2  * All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without modification,
5  * are permitted provided that the following conditions are met:
6  *
7  * 1. Redistributions of source code must retain the above copyright notice, this
8  * list of conditions and the following disclaimer.
9  *
10  * 2. Redistributions in binary form, except as embedded into a Nordic
11  * Semiconductor ASA integrated circuit in a product or a software update for
12  * such product, must reproduce the above copyright notice, this list of
13  * conditions and the following disclaimer in the documentation and/or other
14  * materials provided with the distribution.
15  *
16  * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
17  * contributors may be used to endorse or promote products derived from this
18  * software without specific prior written permission.
19  *
20  * 4. This software, with or without modification, must only be used with a
21  * Nordic Semiconductor ASA integrated circuit.
22  *
23  * 5. Any software provided in binary form under this license must not be reverse
24  * engineered, decompiled, modified and/or disassembled.
25  *
26  * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
27  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
28  * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
29  * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
30  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
32  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
35  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  */
37 
38 #ifndef ACCESS_STATUS_H__
39 #define ACCESS_STATUS_H__
40 
47 typedef enum
48 {
68 
70 #endif
access_status_t
access_status_t
Access layer status codes.
Definition: access_status.h:47
ACCESS_STATUS_CANNOT_SET
The requested set operation cannot be performed due to general constraints.
Definition: access_status.h:64
ACCESS_STATUS_SUCCESS
Command successfully processed.
Definition: access_status.h:49
ACCESS_STATUS_FEATURE_NOT_SUPPORTED
The feature is not supported in this node.
Definition: access_status.h:59
ACCESS_STATUS_NOT_A_SUBSCRIBE_MODEL
The referenced Model is not a Subscribe Model.
Definition: access_status.h:57
ACCESS_STATUS_INVALID_ADDRESS
The provided value is not a valid address in this context.
Definition: access_status.h:50
ACCESS_STATUS_CANNOT_UPDATE
The requested update operation cannot be performed due to general constraints.
Definition: access_status.h:60
ACCESS_STATUS_INVALID_BINDING
The NetKeyIndex and AppKeyIndex combination is not valid.
Definition: access_status.h:66
ACCESS_STATUS_NOT_A_PUBLISH_MODEL
The referenced Model is not a Publish Model.
Definition: access_status.h:56
ACCESS_STATUS_TEMPORARILY_UNABLE_TO_CHANGE_STATE
The requested operation temporarily cannot be performed due to internal state of the node.
Definition: access_status.h:63
ACCESS_STATUS_CANNOT_BIND
The requested bind operation cannot be performed due to general constraints.
Definition: access_status.h:62
ACCESS_STATUS_STORAGE_FAILURE
The node was not able to store new value in persistent storage .
Definition: access_status.h:58
ACCESS_STATUS_INVALID_MODEL
The provided Model index is not valid in this Element.
Definition: access_status.h:51
ACCESS_STATUS_INVALID_APPKEY
The provided AppKey index is not valid for this node.
Definition: access_status.h:52
ACCESS_STATUS_KEY_INDEX_ALREADY_STORED
The key with given index is already stored in the node with a different value.
Definition: access_status.h:55
ACCESS_STATUS_INVALID_NETKEY
The provided NetKey index is not valid for this node.
Definition: access_status.h:53
ACCESS_STATUS_CANNOT_REMOVE
The requested delete operation cannot be performed due to general constraints.
Definition: access_status.h:61
ACCESS_STATUS_UNSPECIFIED_ERROR
An error occurred that does not correspond to any error conditions defined for a given state.
Definition: access_status.h:65
ACCESS_STATUS_INSUFFICIENT_RESOURCES
The node cannot store provided information due to insufficient resources on node.
Definition: access_status.h:54