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: WiFiInterface.h
- Revision:
- 63:531f4c27f360
- Parent:
- 57:3c873fab4207
diff -r 168d22423ed0 -r 531f4c27f360 WiFiInterface.h
--- a/WiFiInterface.h Wed Mar 02 16:52:25 2016 +0000
+++ b/WiFiInterface.h Wed Mar 09 05:51:38 2016 +0000
@@ -22,10 +22,10 @@
/** Enum for WiFi encryption types
*/
enum ns_security_t {
- NS_SECURITY_NONE = 0,
- NS_SECURITY_WEP,
- NS_SECURITY_WPA,
- NS_SECURITY_WPA2,
+ NS_SECURITY_NONE = 0, /*!< open access point */
+ NS_SECURITY_WEP, /*!< phrase conforms to WEP */
+ NS_SECURITY_WPA, /*!< phrase conforms to WPA */
+ NS_SECURITY_WPA2, /*!< phrase conforms to WPA2 */
};
@@ -41,10 +41,7 @@
* @param security Type of encryption to connect with
* @return 0 on success
*/
- virtual int32_t connect(
- const char *ssid,
- const char *pass,
- ns_security_t security = NS_SECURITY_NONE) = 0;
+ virtual int32_t connect(const char *ssid, const char *pass, ns_security_t security = NS_SECURITY_NONE) = 0;
/** Stop the interface
* @return 0 on success
