NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 5:fa54ca1af2cd
- Parent:
- 4:f09f0932db4a
- Child:
- 6:7437289cb2e9
--- a/NetworkInterface.h Sun May 31 13:08:12 2015 -0500 +++ b/NetworkInterface.h Mon Jun 01 15:21:48 2015 -0500 @@ -26,18 +26,6 @@ public: /** - * - * - * - */ - typedef enum { - NI_NONE = 0, - NI_WEP, - NI_WPA, - NI_WPA2, - } ni_security_t; - - /** * Initialize the network interface with DHCP. * * \returns 0 on success, a negative number on failure @@ -69,17 +57,6 @@ } /** - * Start the interface, using DHCP if needed. - * - * @param timeout_ms Time in miliseconds to wait while attempting to connect before timing out - * - * \returns 0 on success, a negative number on failure - */ - virtual int connect(const char *ap, const char *pass_phrase = 0, const ni_security_t security = NI_NONE, const unsigned int timeout_ms=15000) const { - return -1; - } - - /** * Stop the interface, bringing down dhcp if necessary. * * \returns 0 on success, a negative number on failure