14 #include <initializer_list>
21 #if defined IOTCS_GATEWAY || defined IOTCS_DOXYGEN
145 const std::string &hardwareId,
146 const std::map<std::string, std::string> &metaData,
Definition: DirectlyConnectedDevice.hpp:30
Definition: GatewayDevice.hpp:28
static const std::string SERIAL_NUMBER
The.
Definition: GatewayDevice.hpp:46
virtual ~GatewayDevice()
Destructor.
A directly-connected device is able to send messages to, and receive messages from, the IoT server.
static const std::string PROTOCOL
The.
Definition: GatewayDevice.hpp:58
Common exception.
Definition: Exception.hpp:34
static const std::string PROTOCOL_DEVICE_CLASS
The.
Definition: GatewayDevice.hpp:64
static const std::string MANUFACTURER
The.
Definition: GatewayDevice.hpp:34
std::string registerDevice(const bool restricted, const std::string &hardwareId, const std::map< std::string, std::string > &metaData, const std::initializer_list< std::string > &urns)
Register an indirectly-connected device with the cloud service and specify whether the gateway device...
static const std::string DEVICE_CLASS
The.
Definition: GatewayDevice.hpp:52
Thrown on problems with authorization.
Definition: Exception.hpp:25
static const std::string PROTOCOL_DEVICE_ID
The.
Definition: GatewayDevice.hpp:70
GatewayDevice(const std::string &filePath, const std::string &password)
Constructs a new GatewayDevice instance that will load the device configuration from the given file p...
static const std::string MODEL_NUMBER
The.
Definition: GatewayDevice.hpp:40