![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
Unit 0 interface API for HAN-FUN Concentrators. More...
#include <devices.h>
Public Member Functions | |
IUnit0 (HF::IDevice &device) | |
Constructor. More... | |
virtual HF::Core::DeviceManagement::IServer * | device_management ()=0 |
Return a pointer to unit 0 device management service. More... | |
virtual HF::Core::DeviceManagement::IServer * | device_management () const =0 |
Return a pointer to unit 0 device management service. More... | |
virtual HF::Core::BindManagement::IServer * | bind_management ()=0 |
Return a pointer to unit 0 bind management service. More... | |
virtual HF::Core::BindManagement::IServer * | bind_management () const =0 |
Return a pointer to unit 0 bind management service. More... | |
![]() | |
Unit0 (IDevice &device) | |
Constructor. More... | |
uint8_t | id () const |
Get the id number of this unit on the device. More... | |
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... | |
![]() | |
IDevice & | device () const |
Reference to the device this unit belongs to. More... | |
void | send (const Protocol::Address &addr, Protocol::Message &message, Transport::Link *link) |
Create and send a new packet with the given message to the given address. More... | |
std::vector< Common::Interface > | interfaces () const |
Return a vector containing a list of extra interfaces, other than the interfaces specified by the profile the unit implements) More... | |
void | periodic (uint32_t time) |
Handle periodic processing. More... | |
![]() | |
virtual Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset)=0 |
Handle incoming messages from the network. More... | |
![]() | |
virtual Core::DeviceInformation::Server * | device_info () const =0 |
Return a pointer to unit 0 device information service. More... | |
virtual Core::DeviceInformation::Server * | device_info ()=0 |
Return a pointer to unit 0 device information service. More... | |
virtual Core::AttributeReporting::IServer * | attribute_reporting () const =0 |
Return a pointer to unit 0 attribute reporting service. More... | |
virtual Core::AttributeReporting::IServer * | attribute_reporting ()=0 |
Return a pointer to unit 0 attribute reporting service. More... | |
Additional Inherited Members | |
![]() | |
AbstractUnit (IDevice &device) | |
Constructor. More... | |
void | notify (const HF::Attributes::IAttribute &old_value, const HF::Attributes::IAttribute &new_value) const |
Notify the attribute reporting service that the given attribute has changed value. More... | |
![]() | |
uint8_t | _id |
Unit ID used to identify a given unit in a given HAN-FUN device. | |
|
inline |
Constructor.
device | reference to the device this unit 0 belongs to. |
Definition at line 614 of file devices.h.
|
pure virtual |
Return a pointer to unit 0 bind management service.
|
pure virtual |
Return a pointer to unit 0 bind management service.
|
pure virtual |
Return a pointer to unit 0 device management service.
|
pure virtual |
Return a pointer to unit 0 device management service.