BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
base
src
gwmessage
GWMessageType.h
1
#pragma once
2
3
#include "util/Enum.h"
4
5
namespace
BeeeOn {
6
7
struct
GWMessageTypeEnum
{
8
enum
Raw {
9
DEVICE_ACCEPT_REQUEST,
10
DEVICE_LIST_REQUEST,
11
DEVICE_LIST_RESPONSE,
12
GATEWAY_REGISTER,
13
GATEWAY_ACCEPTED,
14
GENERIC_RESPONSE,
15
GENERIC_ACK,
16
LAST_VALUE_REQUEST,
17
LAST_VALUE_RESPONSE,
18
LISTEN_REQUEST,
19
NEW_DEVICE_GROUP_REQUEST,
20
NEW_DEVICE_REQUEST,
21
RESPONSE_WITH_ACK,
22
SEARCH_REQUEST,
23
SENSOR_DATA_CONFIRM,
24
SENSOR_DATA_EXPORT,
25
SET_VALUE_REQUEST,
26
UNPAIR_REQUEST,
27
UNPAIR_RESPONSE,
28
NOTICE_REQUEST,
29
};
30
31
static
EnumHelper<Raw>::ValueMap
&valueMap();
32
};
33
34
typedef
Enum<GWMessageTypeEnum>
GWMessageType
;
35
36
}
BeeeOn::Enum
Definition:
Enum.h:106
BeeeOn::GWMessageTypeEnum
Definition:
GWMessageType.h:7
BeeeOn::EnumHelper::ValueMap
std::map< Raw, std::string > ValueMap
Definition:
Enum.h:20
Generated by
1.8.5