mirror of
https://github.com/anklimov/lighthub
synced 2025-12-10 13:49:50 +03:00
root
applyConfig And *Pool* to *Poll* of course
This commit is contained in:
@@ -47,7 +47,7 @@ e-mail anklimov@gmail.com
|
||||
|
||||
#include "aJSON.h"
|
||||
|
||||
extern aJsonObject *items;
|
||||
extern aJsonObject *items;
|
||||
|
||||
int txt2cmd (char * payload);
|
||||
|
||||
@@ -85,7 +85,7 @@ class Item
|
||||
inline int On (){Ctrl(CMD_ON);};
|
||||
inline int Off(){Ctrl(CMD_OFF);};
|
||||
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
||||
int Pool ();
|
||||
int Poll();
|
||||
int SendCmd(short cmd,short n=0, int * Par=NULL);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user