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

This file contains the implementation of the example application for a HAN-FUN Node. More...

#include <iostream>
#include <iomanip>
#include <sstream>
#include <fstream>
#include <unistd.h>
#include <forward_list>
#include <algorithm>
#include "node.h"
#include "common.h"
#include "application.h"
+ Include dependency graph for node_app.cpp:

Go to the source code of this file.

Functions

 COMMAND (Register, "r", "r:register device")
 Register node command.
 
 COMMAND (Address, "a", "a:device address")
 Print node address command.
 
 COMMAND (SimpleLight, "sl", "sl:set device as a simple light")
 Change device to a simple light.
 
 COMMAND (SimpleSwitch, "ss", "ss:set device as a simple switch")
 Change device to a simple switch.
 
 COMMAND (On, "on", "on:On Command")
 Send an on command from the simple switch.
 
 COMMAND (Off, "off", "off:Off Command")
 Send an off command from the simple switch.
 
 COMMAND (Toggle, "toggle", "toggle:Toggle Command")
 Send a toggle command from the simple switch.
 

Detailed Description

This file contains the implementation of the example application for a HAN-FUN Node.

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 node_app.cpp.