|
enum | gn_node_status_t {
GN_NODE_STATUS_NOT_INITIALIZED = 0
, GN_NODE_STATUS_INITIALIZING = 1
, GN_NODE_STATUS_ERROR = 2
, GN_NODE_STATUS_NETWORK_ERROR = 3
,
GN_NODE_STATUS_SERVER_ERROR = 4
, GN_NODE_STATUS_READY_TO_START = 5
, GN_NODE_STATUS_STARTED = 6
, GN_NODE_STATUS_ERROR_MISSING_FIRMWARE_URL = 7
,
GN_NDOE_STATUS_ERROR_MISSING_PROVISIONING_PASSWORD = 8
, GN_NODE_STATUS_ERROR_MISSING_SERVER_BASE_TOPIC = 9
, GN_NODE_STATUS_ERROR_MISSING_SERVER_URL = 10
, GN_NODE_STATUS_ERROR_BAD_SERVER_KEEPALIVE_SEC = 11
,
GN_NODE_STATUS_ERROR_MISSING_SNTP_URL = 12
, GN_NODE_STATUS_ERROR_MISSING_SERVER_DISCOVERY_PREFIX = 13
} |
|
enum | gn_server_status_t { GN_SERVER_CONNECTED
, GN_SERVER_DISCONNECTED
} |
|
enum | gn_err_t {
GN_RET_OK = 0
, GN_RET_ERR = -1
, GN_RET_ERR_INVALID_ARG = 0x201
, GN_RET_ERR_LEAF_NOT_STARTED = 0x202
,
GN_RET_ERR_NODE_NOT_STARTED = 0x203
, GN_RET_ERR_LEAF_PARAM_ACCESS_VIOLATION = 0x204
, GN_RET_ERR_EVENT_LOOP_ERROR = 0x205
, GN_RET_ERR_LEAF_NOT_FOUND = 0x206
,
GN_RET_ERR_EVENT_NOT_SENT = 0x207
, GN_RET_ERR_MQTT_SUBSCRIBE = 0x208
, GN_RET_ERR_MQTT_ERROR = 0x209
} |
| error codes that the grownode functions can return. More...
|
|
enum | gn_leaf_param_validator_result_t {
GN_LEAF_PARAM_VALIDATOR_PASSED = 0x000
, GN_LEAF_PARAM_VALIDATOR_ERROR_ABOVE_MAX = 0x001
, GN_LEAF_PARAM_VALIDATOR_ERROR_BELOW_MIN = 0x002
, GN_LEAF_PARAM_VALIDATOR_ERROR_NOT_ALLOWED = 0x100
,
GN_LEAF_PARAM_VALIDATOR_ERROR_GENERIC = 0x101
, GN_LEAF_PARAM_VALIDATOR_PASSED_CHANGED = 0x200
} |
| result of a validation function run More...
|
|
enum | gn_log_level_t { GN_LOG_DEBUG = ESP_LOG_DEBUG
, GN_LOG_INFO = ESP_LOG_INFO
, GN_LOG_WARNING = ESP_LOG_WARN
, GN_LOG_ERROR = ESP_LOG_ERROR
} |
|
enum | gn_leaf_status_t { GN_LEAF_STATUS_NOT_INITIALIZED = 0
, GN_LEAF_STATUS_INITIALIZED = 1
, GN_LEAF_STATUS_ERROR = 2
} |
| status of the leaf More...
|
|
enum | gn_val_type_t { GN_VAL_TYPE_STRING
, GN_VAL_TYPE_BOOLEAN
, GN_VAL_TYPE_DOUBLE
} |
| type of parameters available More...
|
|
enum | gn_leaf_param_access_type_t { GN_LEAF_PARAM_ACCESS_ALL = 0x01
, GN_LEAF_PARAM_ACCESS_NETWORK = 0x02
, GN_LEAF_PARAM_ACCESS_NODE = 0x03
, GN_LEAF_PARAM_ACCESS_NODE_INTERNAL = 0x04
} |
|
enum | gn_leaf_param_storage_t { GN_LEAF_PARAM_STORAGE_PERSISTED
, GN_LEAF_PARAM_STORAGE_VOLATILE
} |
|
General structures and functions.