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 by
Diff: WizFi310Interface.h
- Revision:
- 2:4ec2fd843038
- Parent:
- 0:774ff1e8b26b
diff -r e08ea0ee2788 -r 4ec2fd843038 WizFi310Interface.h
--- a/WizFi310Interface.h Tue May 02 00:31:36 2017 +0000
+++ b/WizFi310Interface.h Mon Nov 27 05:28:45 2017 +0000
@@ -27,8 +27,10 @@
#define WIZFI310INTERFACE_H_
#include "WizFi310.h"
+#include "TCPSocketConnection.h"
-class WizFi310Interface : public WizFi310{
+
+class WizFi310Interface : public WizFi310,public TCPSocketConnection{
public:
WizFi310Interface(PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm = NC, int baud = 115200);
@@ -37,14 +39,13 @@
int init(const char* ip, const char* mask, const char* gateway, const char* name = NULL);
int connect(Security sec, const char* ssid, const char* phrase, WiFiMode mode = WM_STATION);
int disconnect();
+ int tcpclient();
char* getMACAddress();
char* getIPAddress();
char* getGateway();
char* getNetworkMask();
-
int setAntMode(AntennaMode mode);
-
};
