Information about a Jablotron Gadget device type. Gadget types are distinguished by their address. A certain address range denotes a gadget device type.
More...
#include <JablotronGadget.h>
|
| operator bool () const |
|
bool | operator! () const |
|
std::string | name () const |
|
std::vector< SensorValue > | parse (const JablotronReport &report) const |
| Parses the data payload of the given report and converts it into BeeeOn-specific data format.
|
|
|
const uint32_t | firstAddress |
|
const uint32_t | lastAddress |
|
const Type | type |
|
const RefreshTime | refreshTime |
|
const std::list< ModuleType > | modules |
|
Information about a Jablotron Gadget device type. Gadget types are distinguished by their address. A certain address range denotes a gadget device type.
uint32_t JablotronGadget::Info::primaryAddress |
( |
const uint32_t |
address | ) |
|
|
static |
- Returns
- primary address of the gadget which is usually the address itself unless it is an address of RC-86K gadget
- Returns
- gadget info instance based on the given address
uint32_t JablotronGadget::Info::secondaryAddress |
( |
const uint32_t |
address | ) |
|
|
static |
- Returns
- secondary address of the gadget.
- Exceptions
-
NotFoundException | when the address is not of type RC-86K |
The documentation for this struct was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/jablotron/JablotronGadget.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/jablotron/JablotronGadget.cpp