|
| Unit0 (HF::IDevice &device) |
| Constructor. More...
|
|
DeviceInfo * | device_info () const |
| Device Information service. More...
|
|
DeviceInfo * | device_info () |
| Device Information service. More...
|
|
DeviceMgt * | device_management () const |
| Device Management service. More...
|
|
DeviceMgt * | device_management () |
| Device Management service. More...
|
|
AttrReporting * | attribute_reporting () const |
| Attribute Reporting service. More...
|
|
AttrReporting * | attribute_reporting () |
| Attribute Reporting service. More...
|
|
Common::Result | handle (HF::Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
| Handle incoming messages from the network. 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...
|
|
void | periodic (uint32_t time) |
| Handle periodic processing. More...
|
|
void | receive (HF::Protocol::Packet &packet, HF::Common::ByteArray &payload, uint16_t offset) |
| Callback to deliver a packet received from the transport layer. More...
|
|
bool | has_bind (uint16_t dev_addr_1, uint16_t dev_addr_2) |
| Check if bind exists. More...
|
|
uint8_t | bind (uint16_t dev_addr_1, uint16_t dev_addr_2) |
| Create a new bind entry. More...
|
|
bool | unbind (uint16_t dev_addr_1, uint16_t dev_addr_2) |
| Remove the binding entry for the given devices. More...
|
|
CoreServices * | unit0 () const |
| Get the unit 0 used by this concentrator device. More...
|
|
uint16_t | address () const |
| Return the device address on the HAN-FUN network, when the device is registered, or HF_BROADCAST_ADDR otherwise. More...
|
|
void | connected (HF::Transport::Link *link) |
| Callback to report that a new transport link was been created to a remote device. More...
|
|
void | disconnected (HF::Transport::Link *link) |
| Callback to the report that the given transport link no longer is valid and MUST not be used to send messages to the corresponding end-point. More...
|
|
const IUnits & | units () const |
| Return the list of units registered in this device. More...
|
|
void | add (Units::IUnit *unit) |
| Add unit to devices unit lists. More...
|
|
void | remove (Units::IUnit *unit) |
| Remove unit from device's unit list. More...
|
|
Units::IUnit * | unit (uint8_t id) const |
| Return pointer to the unit with the given id. More...
|
|
void | send (Protocol::Packet &packet) |
| Send given packet into the HAN-FUN network. More...
|
|
void | periodic (uint32_t time) |
| Handle periodic processing. More...
|
|
|
| Container (Base &base) |
| Constructor. More...
|
|
Common::Result | handle (Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) |
| Handle incoming messages from the network. More...
|
|
void | attributes (HF::Attributes::List &attr_list, 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...
|
|
std::vector< Common::Interface > | interfaces () const |
| Return the list of interfaces present in the wrapper. More...
|
|
const std::tuple_element< N, interfaces_t >::type::base * | get () const |
| Retrieve a pointer to the N optional interface implemented by this unit. More...
|
|
template<typename Base, typename... ITF>
class HF::Unit0< Base, ITF >
Helper template class used to define custom Unit 0 for devices.
- Template Parameters
-
Base | parent class. |
ITF | custom classes implementing the required services. |
Definition at line 264 of file core.h.