Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WizFi310Interface_Legacy_newv34 by
Diff: WizFi310/WizFi310.h
- Revision:
- 2:3194ebe06182
- Parent:
- 0:774ff1e8b26b
--- a/WizFi310/WizFi310.h Tue May 02 00:31:36 2017 +0000
+++ b/WizFi310/WizFi310.h Mon Sep 18 08:11:28 2017 +0000
@@ -106,6 +106,7 @@
RES_FDNS,
RES_SMGMT,
RES_WSTATUS,
+ RES_SCON,
};
@@ -143,6 +144,7 @@
int cmdWJOIN ();
int cmdWLEAVE ();
int cmdWSTATUS ();
+ int cmdSCON ();
int cmdSCON ( const char *openType, const char *socketType, int localPort, const char *dataMode = "0");
int cmdSCON ( const char *openType, const char *socketType, const char *remoteIp, int remotePort, int localPort = 0, const char *dataMode = "0");
int cmdSSEND ( const char *data, int cid, int sendSize, const char *remoteIp = NULL, int remotePort = 0, int Timeout = 2000 );
@@ -327,6 +329,8 @@
//daniel for mqtt
char rcvd_mqtt_topic[128];
+
+ bool test(void);
};
