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.
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 2:ce08986b18b5
- Parent:
- 1:291a9d61e58a
- Child:
- 3:167dd63981b6
diff -r 291a9d61e58a -r ce08986b18b5 NetworkInterface.h
--- a/NetworkInterface.h Thu May 14 01:37:53 2015 +0000
+++ b/NetworkInterface.h Tue May 19 17:40:28 2015 +0000
@@ -41,7 +41,7 @@
*
* \returns 0 on success, a negative number on failure
*/
- virtual int init(char* ip, char* mask, char *gateway) = 0;
+ virtual int init(char *ip, char *mask, char *gateway) = 0;
/**
* Start the interface, using DHCP if needed.
@@ -53,17 +53,6 @@
virtual int connect(unsigned int timeout_ms=15000) = 0;
/**
- * Start the interface, specifically for wifi based hardware, using DHCP if needed. This only needs to be implemented on wifi hardware.
- *
- * @param ssid The SSID of the access point
- * @param phrase The passphrase, if needed, to connect
- * @param gateway The security type of the access point
- *
- * \returns 0 on success, a negative number on failure
- */
- virtual int connect(char* ssid, char* phrase, char* security_type) = 0;
-
- /**
* Stop the interface, bringing down dhcp if necessary.
*
* \returns 0 on success, a negative number on failure
