Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
health_faults.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2019 Nordic Semiconductor ASA
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_HEALTH_FAULTS_H__
11#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_HEALTH_FAULTS_H__
12
21#define BT_MESH_HEALTH_FAULT_NO_FAULT 0x00
22
23#define BT_MESH_HEALTH_FAULT_BATTERY_LOW_WARNING 0x01
24#define BT_MESH_HEALTH_FAULT_BATTERY_LOW_ERROR 0x02
25#define BT_MESH_HEALTH_FAULT_SUPPLY_VOLTAGE_TOO_LOW_WARNING 0x03
26#define BT_MESH_HEALTH_FAULT_SUPPLY_VOLTAGE_TOO_LOW_ERROR 0x04
27#define BT_MESH_HEALTH_FAULT_SUPPLY_VOLTAGE_TOO_HIGH_WARNING 0x05
28#define BT_MESH_HEALTH_FAULT_SUPPLY_VOLTAGE_TOO_HIGH_ERROR 0x06
29#define BT_MESH_HEALTH_FAULT_POWER_SUPPLY_INTERRUPTED_WARNING 0x07
30#define BT_MESH_HEALTH_FAULT_POWER_SUPPLY_INTERRUPTED_ERROR 0x08
31#define BT_MESH_HEALTH_FAULT_NO_LOAD_WARNING 0x09
32#define BT_MESH_HEALTH_FAULT_NO_LOAD_ERROR 0x0A
33#define BT_MESH_HEALTH_FAULT_OVERLOAD_WARNING 0x0B
34#define BT_MESH_HEALTH_FAULT_OVERLOAD_ERROR 0x0C
35#define BT_MESH_HEALTH_FAULT_OVERHEAT_WARNING 0x0D
36#define BT_MESH_HEALTH_FAULT_OVERHEAT_ERROR 0x0E
37#define BT_MESH_HEALTH_FAULT_CONDENSATION_WARNING 0x0F
38#define BT_MESH_HEALTH_FAULT_CONDENSATION_ERROR 0x10
39#define BT_MESH_HEALTH_FAULT_VIBRATION_WARNING 0x11
40#define BT_MESH_HEALTH_FAULT_VIBRATION_ERROR 0x12
41#define BT_MESH_HEALTH_FAULT_CONFIGURATION_WARNING 0x13
42#define BT_MESH_HEALTH_FAULT_CONFIGURATION_ERROR 0x14
43#define BT_MESH_HEALTH_FAULT_ELEMENT_NOT_CALIBRATED_WARNING 0x15
44#define BT_MESH_HEALTH_FAULT_ELEMENT_NOT_CALIBRATED_ERROR 0x16
45#define BT_MESH_HEALTH_FAULT_MEMORY_WARNING 0x17
46#define BT_MESH_HEALTH_FAULT_MEMORY_ERROR 0x18
47#define BT_MESH_HEALTH_FAULT_SELF_TEST_WARNING 0x19
48#define BT_MESH_HEALTH_FAULT_SELF_TEST_ERROR 0x1A
49#define BT_MESH_HEALTH_FAULT_INPUT_TOO_LOW_WARNING 0x1B
50#define BT_MESH_HEALTH_FAULT_INPUT_TOO_LOW_ERROR 0x1C
51#define BT_MESH_HEALTH_FAULT_INPUT_TOO_HIGH_WARNING 0x1D
52#define BT_MESH_HEALTH_FAULT_INPUT_TOO_HIGH_ERROR 0x1E
53#define BT_MESH_HEALTH_FAULT_INPUT_NO_CHANGE_WARNING 0x1F
54#define BT_MESH_HEALTH_FAULT_INPUT_NO_CHANGE_ERROR 0x20
55#define BT_MESH_HEALTH_FAULT_ACTUATOR_BLOCKED_WARNING 0x21
56#define BT_MESH_HEALTH_FAULT_ACTUATOR_BLOCKED_ERROR 0x22
57#define BT_MESH_HEALTH_FAULT_HOUSING_OPENED_WARNING 0x23
58#define BT_MESH_HEALTH_FAULT_HOUSING_OPENED_ERROR 0x24
59#define BT_MESH_HEALTH_FAULT_TAMPER_WARNING 0x25
60#define BT_MESH_HEALTH_FAULT_TAMPER_ERROR 0x26
61#define BT_MESH_HEALTH_FAULT_DEVICE_MOVED_WARNING 0x27
62#define BT_MESH_HEALTH_FAULT_DEVICE_MOVED_ERROR 0x28
63#define BT_MESH_HEALTH_FAULT_DEVICE_DROPPED_WARNING 0x29
64#define BT_MESH_HEALTH_FAULT_DEVICE_DROPPED_ERROR 0x2A
65#define BT_MESH_HEALTH_FAULT_OVERFLOW_WARNING 0x2B
66#define BT_MESH_HEALTH_FAULT_OVERFLOW_ERROR 0x2C
67#define BT_MESH_HEALTH_FAULT_EMPTY_WARNING 0x2D
68#define BT_MESH_HEALTH_FAULT_EMPTY_ERROR 0x2E
69#define BT_MESH_HEALTH_FAULT_INTERNAL_BUS_WARNING 0x2F
70#define BT_MESH_HEALTH_FAULT_INTERNAL_BUS_ERROR 0x30
71#define BT_MESH_HEALTH_FAULT_MECHANISM_JAMMED_WARNING 0x31
72#define BT_MESH_HEALTH_FAULT_MECHANISM_JAMMED_ERROR 0x32
73
79#define BT_MESH_HEALTH_FAULT_VENDOR_SPECIFIC_START 0x80
80
85#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_HEALTH_FAULTS_H__ */