applyConfig
And *Pool* to *Poll* of course
This commit is contained in:
livello
2018-03-22 22:31:35 +03:00
parent 4d7f6ca875
commit bbf944c482
7 changed files with 40 additions and 40 deletions

View File

@@ -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: