ThingPlug Test
Dependents: WizFi310_ThingPlug_Test WizFi310_ThingPlug_Test_P
Fork of WizFi310Interface by
Diff: WizFi310/WizFi310.h
- Revision:
- 1:16e57103a7dd
- Parent:
- 0:df571f8f8c03
- Child:
- 5:72212beb817c
- Child:
- 7:b7019399eb1e
--- a/WizFi310/WizFi310.h Wed Oct 05 09:40:30 2016 +0000 +++ b/WizFi310/WizFi310.h Mon Oct 10 05:12:51 2016 +0000 @@ -103,6 +103,7 @@ RES_FDNS, RES_SMGMT, RES_WSTATUS, + }; enum Mode { @@ -267,6 +268,9 @@ void msgConnect (const char *buf); void msgDisconnect (const char *buf); void msgListen (const char *buf); + //daniel + void msgMQTTConnect (const char *buf); + void msgMQTTDisconnect (const char *buf); void resMacAddress (const char *buf); void resWJOIN (const char *buf); @@ -320,6 +324,10 @@ * @return true only if the chip has an IP address */ bool isConnected(void); + + + //daniel for mqtt + char rcvd_mqtt_topic[128]; };