BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Representation of a real Jablotron Gadget registered inside the associated Turris Dongle. More...
#include <JablotronGadget.h>
Data Structures | |
struct | Info |
Information about a Jablotron Gadget device type. Gadget types are distinguished by their address. A certain address range denotes a gadget device type. More... | |
Public Types | |
enum | Type { NONE = -1, AC88, JA80L, JA81M, JA82SH, JA83M, JA83P, JA85ST, RC86K, TP82N } |
Public Member Functions | |
JablotronGadget (const unsigned int slot, const uint32_t address, const Info &info) | |
unsigned int | slot () const |
uint32_t | address () const |
const Info & | info () const |
bool | isSecondary () const |
std::string | toString () const |
Representation of a real Jablotron Gadget registered inside the associated Turris Dongle.
bool JablotronGadget::isSecondary | ( | ) | const |