HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
device_management.h File Reference

This file contains the definitions for the core Device Management Interface of the HAN-FUN protocol. More...

#include "hanfun/common.h"
#include "hanfun/uids.h"
#include "hanfun/protocol.h"
#include "hanfun/core.h"
#include "hanfun/device.h"
#include "hanfun/units.h"
#include "hanfun/core/session_management.h"
+ Include dependency graph for device_management.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HF::Core::DeviceManagement::Unit
 Unit Entry. More...
 
struct  HF::Core::DeviceManagement::Device
 Device Entry. More...
 
struct  HF::Core::DeviceManagement::RegisterMessage
 Register command message. More...
 
struct  HF::Core::DeviceManagement::RegisterResponse
 Register command response. More...
 
struct  HF::Core::DeviceManagement::DeregisterMessage
 De-register command message. More...
 
struct  HF::Core::DeviceManagement::IEntries
 Device Management - Persistent Storage API. More...
 
class  HF::Core::DeviceManagement::Base
 Parent class for the Device Management interface implementation. More...
 
class  HF::Core::DeviceManagement::Client
 Device Management interface : Client side. More...
 
struct  HF::Core::DeviceManagement::IServer
 Device Management interface : Server side API. More...
 
struct  HF::Core::DeviceManagement::AbstractServer
 Device Management interface : Server side default implementation. More...
 
struct  HF::Core::DeviceManagement::Entries
 Default implementation of the persistence API. More...
 
struct  HF::Core::DeviceManagement::Server< _Entries >
 Helper class used to implement custom functionality to the device management server side. More...
 

Namespaces

 HF
 Top-level namespace for the HAN-FUN library.
 
 HF::Devices
 This is the top-level namespace for the HAN-FUN devices implementation.
 
 HF::Devices::Concentrator
 This is the namespace for the implementation of HAN-FUN Concentrator devices.
 
 HF::Core
 This is the top-level namespace for the Core Services and Interfaces implementation.
 
 HF::Core::DeviceManagement
 This namespace contains the classes that implement the Device Management service.
 

Enumerations

enum  HF::Core::DeviceManagement::CMD {
  HF::Core::DeviceManagement::REGISTER_CMD = 0x01, HF::Core::DeviceManagement::DEREGISTER_CMD = 0x02, HF::Core::DeviceManagement::START_SESSION_CMD = 0x03, HF::Core::DeviceManagement::END_SESSION_CMD = 0x04,
  HF::Core::DeviceManagement::GET_ENTRIES_CMD = 0x05
}
 Commands. More...
 
enum  HF::Core::DeviceManagement::Attributes { HF::Core::DeviceManagement::NUMBER_OF_ENTRIES_ATTR = 0x01 }
 Attributes. More...
 

Functions

HF::Attributes::IAttributeHF::Core::create_attribute (HF::Core::DeviceManagement::IServer *server, uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. More...
 
HF::Attributes::IAttributeHF::Core::DeviceManagement::create_attribute (uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. (HF::Core::DeviceManagement::Server *,uint8_t) More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Core::DeviceManagement::CMD command)
 Convert the given command into a string and write it to the given stream. More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Core::DeviceManagement::Attributes attribute)
 Convert the given attribute into a string and write it to the given stream. More...
 

Detailed Description

This file contains the definitions for the core Device Management Interface of the HAN-FUN protocol.

Version
1.5.3

For licensing information, please see the file 'LICENSE' in the root folder.

Initial development by Bithium S.A. [http://www.bithium.com]

Definition in file device_management.h.