BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Data Structures | Public Types | Public Member Functions
BeeeOn::JablotronGadget Class Reference

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 Infoinfo () const
 
bool isSecondary () const
 
std::string toString () const
 

Detailed Description

Representation of a real Jablotron Gadget registered inside the associated Turris Dongle.

Member Function Documentation

bool JablotronGadget::isSecondary ( ) const
Returns
true if the gadget represents a secondary part which applies especially to RC-86K.

The documentation for this class was generated from the following files: