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

HAN-FUN Protocol implementation. More...

Namespaces

 Filters
 This namespace contains the different packet filters.
 
 GetAttributePack
 This namespace contains the classes that implement the HF::Message::GET_ATTR_PACK_REQ messages.
 
 SetAttributePack
 This namespace contains the classes that implement the HF::Message::SET_ATTR_PACK_REQ and HF::Message::SET_ATTR_PACK_RESP_REQ messages.
 

Data Structures

struct  Address
 Network Address. More...
 
struct  Message
 Network Message. More...
 
struct  Packet
 HAN-FUN Protocol Packet. More...
 
struct  Response
 Parent class for the response messages. More...
 

Functions

bool request (Message::Type type, bool response=false)
 Check if message type is a request. More...
 
bool response (Message::Type type)
 Check if message is a response. More...
 
bool matches (Message::Type lhs, Message::Type rhs)
 Check if the given message types are the request and response for each other, for example, the Message::Type::COMMAND_RES matches both the Message::Type::COMMAND_REQ and Message::Type::COMMAND_RESP_REQ. More...
 

Variables

constexpr uint16_t BROADCAST_ADDR = 0x7FFF
 HAN-FUN Broadcast - device address.
 
constexpr uint8_t BROADCAST_UNIT = 0xFF
 HAN-FUN Broadcast - unit address.
 
constexpr uint16_t MAX_PAYLOAD = 0x01FF
 HAN-FUN Network - Maximum application payload length.
 

Detailed Description

HAN-FUN Protocol implementation.