47 LOG(DEBUG) <<
">>>>>>>>>>>>> Message Received <<<<<<<<<<<<<" <<
NL;
49 LOG(TRACE) <<
"Payload : " << payload <<
NL;
51 LOG(DEBUG) << packet <<
NL;
63 LOG(INFO) <<
">>>>>>>>>>>>> SimpleLight : ON <<<<<<<<<<<<<" <<
NL;
69 LOG(INFO) <<
">>>>>>>>>>>>> SimpleLight : OFF <<<<<<<<<<<<<" <<
NL;
75 LOG(INFO) <<
">>>>>>>>>>>>> SimpleLight : TOGGLE <<<<<<<<<<<<<" <<
NL;
void toggle(HF::Protocol::Address &source)
Callback that is called when a TOGGLE_CMD message is received.
This file contains the definition of the Node class that represents the HAN-FUN Node on the applicati...
This file contains the definitions for the HAN-FUN example applications.
void on(HF::Protocol::Address &source)
Callback that is called when a ON_CMD message is received.
Helper template class to implement units.
This class represents a byte array.
#define NL
Helper define for new-line and stream clear.
void receive(HF::Protocol::Packet &packet, HF::Common::ByteArray &payload, uint16_t offset)
Callback to deliver a packet received from the transport layer.
void off(HF::Protocol::Address &source)
Callback that is called when a OFF_CMD message is received.
This file contains the definitions for the common functionality in the HAN-FUN example applications...
#define LOG(X)
Log messages with the level given by X.
void receive(Protocol::Packet &packet, Common::ByteArray &payload, uint16_t offset) _override
Callback to deliver a packet received from the transport layer.