HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Interfaces::SimplePowerMeter Namespace Reference

This namespace contains the implementation of the Simple Power Meter interface. More...

Data Structures

struct  Base
 Simple Power Meter Interface : Parent. More...
 
struct  Client
 Simple Power Meter Interface : Client side implementation. More...
 
struct  Measurement
 This represents a measurement for a given attribute. More...
 
struct  Report
 Simple Meter report. More...
 
class  Server
 Simple Power Meter Interface : Server side implementation. More...
 

Enumerations

enum  CMD { REPORT_CMD = 0x01, MEASUREMENT_RESET_CMD = 0x01 }
 Commands IDs. More...
 
enum  Attributes {
  ENERGY_ATTR = 0x01, ENERGY_AT_RESET_ATTR = 0x02, TIME_AT_RESET_ATTR = 0x03, POWER_ATTR = 0x04,
  AVG_POWER_ATTR = 0x05, AVG_POWER_INTERVAL_ATTR = 0x06, VOLTAGE_ATTR = 0x07, CURRENT_ATTR = 0x08,
  FREQUENCY_ATTR = 0x09, POWER_FACTOR_ATTR = 0x0A, REPORT_INTERVAL_ATTR = 0x0B
}
 Attributes IDs. More...
 

Functions

HF::Attributes::IAttributecreate_attribute (uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. (HF::Interfaces::SimplePowerMeter::Server *,uint8_t) More...
 

Detailed Description

This namespace contains the implementation of the Simple Power Meter interface.