ThingPlug Test
Dependents: WizFi310_ThingPlug_Test WizFi310_ThingPlug_Test_P
Fork of WizFi310Interface by
Diff: WizFi310/WizFi310.h
- Revision:
- 7:b7019399eb1e
- Parent:
- 1:16e57103a7dd
- Child:
- 8:08588dd2a66f
--- a/WizFi310/WizFi310.h Mon Apr 10 09:54:34 2017 +0000 +++ b/WizFi310/WizFi310.h Fri Aug 25 00:55:43 2017 +0000 @@ -146,6 +146,15 @@ int cmdCLOSE ( int cid ); int cmdFDNS (const char *host); int cmdSMGMT ( int cid ); + + + int cmdSKTPCON (const char *openType); + int cmdSKTPCON (const char *openType, const char *clientId, const char *credentialId, const char *serviceId, const char *devId); + int cmdSKTPDEVICE (const char *openType, const char *devId); + int cmdSKTPCONTAINER (const char *openType, const char *containerName); + int cmdSKTPCMD (const char *openType, const char *commandName); + int cmdSKTPSEND (const char *containerName, const char *sendData); + int cmdSKTPRESULT (); static WizFi310 * getInstance() { @@ -259,6 +268,10 @@ const char* getIPAddress (void); const char* getMACAddress (void); + + + int joinTP (const char *clientId, const char *credentialId, const char *serviceId, const char *devId, const char *containerNm); + // --------- WizFi250_msg.cpp --------- void recvData ( char c ); @@ -280,6 +293,7 @@ void resSMGMT (const char *buf); void resWSTATUS (const char *buf); + void resSKTPCON (const char *buf); // --------- WizFi250_hal.cpp --------- void setReset (bool flg);