emma controller code in production board v1
Dependencies: ADE7758_v1 Crypto DHT11 MQTT MbedJSONValueEmma SDFileSystem TFT_ILI9341 SWSPI SetRTC TFT_fonts Touch W5500Interface mbed-rtos mbed-src SoftSerial
Fork of emma_controller_energy by
Diff: emmaCode.h
- Revision:
- 55:63a616a99c9a
- Parent:
- 52:cbe6d1d1efdc
- Child:
- 58:5f953f303551
--- a/emmaCode.h Tue Sep 15 12:22:39 2015 +0000 +++ b/emmaCode.h Wed Sep 16 09:05:42 2015 +0000 @@ -134,12 +134,14 @@ bool writeSetting(string parameter, string value); /*end emma settings*/ -/*start nodes*/ +/*start emma nodes*/ string readNodeIP(string macAddr); -string readNodeCmd(string dType, string cmd); +string readNodeCmd(string dType, string cmdKey); +bool writeNodeCmd(string dType, string cmdKey, string cmdCode); +bool isExistNodeCmd(string dType, string cmdKey); string *readNodeList(void); string wifiGetNodeTemp(string macAddr); -/*end nodes*/ +/*end emma nodes*/ /*start emma private function*/ void isEthAvailable(void);