BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Static Public Member Functions
BeeeOn::ModuleType::TypeEnum Struct Reference

Public Types

enum  Raw {
  TYPE_UNKNOWN = 0, TYPE_AVAILABILITY = 1, TYPE_BATTERY = 2, TYPE_BITMAP = 3,
  TYPE_BRIGHTNESS = 4, TYPE_CO2 = 5, TYPE_ENUM = 6, TYPE_FIRE = 7,
  TYPE_HUMIDITY = 8, TYPE_LUMINANCE = 9, TYPE_MOTION = 10, TYPE_NOISE = 11,
  TYPE_OPEN_CLOSE = 12, TYPE_ON_OFF = 13, TYPE_PERFORMANCE = 14, TYPE_PRESSURE = 15,
  TYPE_RSSI = 16, TYPE_SECURITY_ALERT = 17, TYPE_SHAKE = 18, TYPE_TEMPERATURE = 19,
  TYPE_ULTRAVIOLET = 20, TYPE_POWER = 21, TYPE_VOLTAGE = 22, TYPE_CURRENT = 23,
  TYPE_FREQUENCY = 24, TYPE_COLOR_TEMPERATURE = 25, TYPE_COLOR = 26, TYPE_SMOKE = 27,
  TYPE_HEAT = 28, TYPE_PM25 = 29, TYPE_OPEN_RATIO = 30
}
 

Static Public Member Functions

static EnumHelper< Raw >
::ValueMap & 
valueMap ()
 

Member Enumeration Documentation

Enumerator
TYPE_UNKNOWN 

In case we are unable to determine the type of value, the unknown type can be used. This makes possible to postprocess data in cloud, collector, etc. when the information is known.

TYPE_AVAILABILITY 

Value 0: unreachable Value 1: reachable

TYPE_BATTERY 

State of battery in percents.

TYPE_BITMAP 

It defines specific bitmap module type which is stored in m_customID.

TYPE_BRIGHTNESS 

Brightness in percent.

TYPE_CO2 

Concentration of CO2.

TYPE_ENUM 

It defines specific enum module type which is stored in m_customID.

TYPE_FIRE 

Value 0: no fire detected Value 1: fire detected

TYPE_HUMIDITY 

Humidity of some environment in percent.

TYPE_LUMINANCE 

Luminuous intensity per unit area.

TYPE_MOTION 

Value 0: no motion detected Value 1: motion detected

TYPE_NOISE 

Noise (also volume) of some environment.

TYPE_OPEN_CLOSE 

Value 0: closed Value 1: open

TYPE_ON_OFF 

Value 0: off Value 1: on

TYPE_PERFORMANCE 

Performance of a system or mechine in percent.

TYPE_PRESSURE 

Pressure of a substance (air, water).

TYPE_RSSI 

Signal strength in percent.

TYPE_SECURITY_ALERT 

Value 0: no security alert Value 1: security alert is active

TYPE_SHAKE 

Value 0: no shake detect Value 1: shake detect

TYPE_TEMPERATURE 

Temperature of some environment.

TYPE_ULTRAVIOLET 

Strength of sunburn-producing ultraviolet radiation (UV index).

TYPE_POWER 

Physical power (usually) of some electrical equipment.

TYPE_VOLTAGE 

Voltage.

TYPE_CURRENT 

Current.

TYPE_FREQUENCY 

Frequency.

TYPE_COLOR_TEMPERATURE 

Temperature of color in Kelvin. Range: 1700..27000.

TYPE_COLOR 

Color expressed by RGB. Each component is in one Byte. The format of color is 0x00RRGGBB in the little-endian. Range: 0..16777215.

TYPE_SMOKE 
  • 0 - smoke not detected
  • 1 - smoke detected
TYPE_HEAT 
  • 0 - heat is normal
  • 1 - over-heat detected.
TYPE_PM25 

Particulate matter with diameter up to 2.5 um.

TYPE_OPEN_RATIO 

Open ratio in percent.


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