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

This namespace contains the implementation of the Simple Button interface. More...

Data Structures

struct  Base
 Simple Button Interface : Parent. More...
 
struct  Client
 Simple Button Interface : Client side implementation. More...
 
struct  DoubleClickGapDuration
 Helper class to handle the Double Click Gap Duration attribute for the Simple Button interface. More...
 
struct  ExtraLongPressMinDuration
 Helper class to handle the Extra Long Press Min Duration attribute for the Simple Button interface. More...
 
class  Server
 Simple Button Interface : Server side implementation. More...
 
struct  ShortPressMaxDuration
 Helper class to handle the Short Press Max Duration attribute for the Simple Button interface. More...
 

Enumerations

enum  CMD { SHORT_PRESS_CMD = 1, LONG_PRESS_CMD = 2, EXTRA_LONG_PRESS_CMD = 3, DOUBLE_CLICK_PRESS_CMD = 4 }
 Command IDs. More...
 
enum  Attributes { SHORT_PRESS_MAX_DURATION_ATTR = 1, EXTRA_LONG_PRESS_MIN_DURATION_ATTR = 2, DOUBLE_CLICK_GAP_DURATION_ATTR = 3 }
 Attributes. More...
 

Functions

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

Detailed Description

This namespace contains the implementation of the Simple Button interface.