supla-device
Loading...
Searching...
No Matches
device_mode.h
1// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#ifndef SRC_SUPLA_DEVICE_DEVICE_MODE_H_
5#define SRC_SUPLA_DEVICE_DEVICE_MODE_H_
6
7#include <stdint.h>
8
9namespace Supla {
10
11enum DeviceMode : uint8_t {
12 DEVICE_MODE_NOT_SET = 0,
13 DEVICE_MODE_TEST = 1,
14 DEVICE_MODE_NORMAL = 2,
15 DEVICE_MODE_CONFIG = 3,
16 DEVICE_MODE_SW_UPDATE = 4,
17 DEVICE_MODE_OFFLINE = 5,
18 DEVICE_MODE_NOT_CONFIGURED = 6
19};
20
21} // namespace Supla
22
23#endif // SRC_SUPLA_DEVICE_DEVICE_MODE_H_