![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Class template for all profile implementations. More...
#include <profiles.h>
Public Member Functions | |
uint16_t | uid () const |
Return this profile HAN-FUN UID. More... | |
HF::Attributes::List | attributes (Common::Interface itf, uint8_t pack_id, const HF::Attributes::UIDS &uids) const |
Return a list of all the attributes for a given interface, pack id and list of attributes UID's. More... | |
Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
Handle incoming messages from the network. More... | |
Class template for all profile implementations.
Definition at line 269 of file profiles.h.
|
inlinevirtual |
Return a list of all the attributes for a given interface, pack id and list of attributes UID's.
Implements HF::Profiles::IProfile.
Reimplemented in HF::Profiles::Detector< _uid >, HF::Profiles::Detector< VIBRATION_DETECTOR >, HF::Profiles::Detector< SIMPLE_PENDANT >, HF::Profiles::Detector< SMOKE_DETECTOR >, HF::Profiles::Detector< DOOR_OPEN_CLOSE_DETECTOR >, HF::Profiles::Detector< WINDOW_OPEN_CLOSE_DETECTOR >, HF::Profiles::Detector< MOTION_DETECTOR >, HF::Profiles::Detector< GAS_DETECTOR >, HF::Profiles::Detector< GLASS_BREAK_DETECTOR >, HF::Profiles::Detector< SIMPLE_DETECTOR >, HF::Profiles::Detector< FLOOD_DETECTOR >, HF::Profiles::ProfileN< _uid, _Interfaces >, HF::Profiles::ProfileN< _uid, Interface1, Interface2 >, HF::Profiles::ProfileN< _uid, OnOffServer, SimpleThermostatServer >, HF::Profiles::ProfileN< ENVIRONMENT_MONITOR, Interfaces::SimpleTemperature::Server, Interfaces::SimpleHumidity::Server, Interfaces::SimpleAirPressure::Server >, HF::Profiles::ProfileN< _uid, OnOffServer, ColourControlServer >, HF::Profiles::ProfileN< _uid, OnOffServer, SimplePowerMeterServer >, HF::Profiles::ProfileN< _uid, OnOffServer, LevelControlServer >, HF::Profiles::ProfileN< _uid, OnOffClient, LevelControlClient >, HF::Profiles::ProfileN< DIMMABLE_COLOUR_BULB, OnOffServer, ColourControlServer, LevelControlServer >, HF::Profiles::Profile< _uid, Interface >, HF::Units::Unit< HF::Profiles::SimpleOnOffSwitch >, HF::Units::Unit< HF::Profiles::GenericApplicationLogic, Alert, LevelControl, OnOff, SimplePowerMeter >, and HF::Units::Unit< HF::Profiles::SimpleLight >.
Definition at line 279 of file profiles.h.
|
inline |
Handle incoming messages from the network.
[in] | packet | the packet receive from the network. |
[in] | payload | the byte array containing the data received from the network. |
[in] | offset | the offset the payload start at in the byte array. |
Definition at line 290 of file profiles.h.
|
inlinevirtual |
Return this profile HAN-FUN UID.
Implements HF::Profiles::IProfile.
Reimplemented in HF::Units::Unit< HF::Profiles::SimpleOnOffSwitch >, HF::Units::Unit< HF::Profiles::GenericApplicationLogic, Alert, LevelControl, OnOff, SimplePowerMeter >, and HF::Units::Unit< HF::Profiles::SimpleLight >.
Definition at line 274 of file profiles.h.
Referenced by HF::Profiles::Detector< FLOOD_DETECTOR >::alert().