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 WizFi250Interface by
Revision 1:116433d24e91, committed 2017-08-18
- Comitter:
- cliff1
- Date:
- Fri Aug 18 04:50:17 2017 +0000
- Parent:
- 0:e3dc9e54a15b
- Commit message:
- Test 5.5
Changed in this revision
| WizFi250Interface.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r e3dc9e54a15b -r 116433d24e91 WizFi250Interface.h
--- a/WizFi250Interface.h Tue Aug 30 00:05:24 2016 +0000
+++ b/WizFi250Interface.h Fri Aug 18 04:50:17 2017 +0000
@@ -17,7 +17,7 @@
#ifndef WIZFI250_INTERFACE_H
#define WIZFI250_INTERFACE_H
-#include "WiFiInterface.h"
+#include "mbed.h"
#include "WizFi250.h"
#define WIZFI250_SOCKET_COUNT 8
@@ -29,7 +29,7 @@
{
public:
WizFi250Interface(PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm, int baud=115200 );
-
+
virtual int connect(
const char *ssid,
const char *pass,
@@ -49,6 +49,18 @@
* @return MAC address of the interface
*/
virtual const char *get_mac_address();
+
+
+ // -- Added by cliff
+ virtual int connect(){ };
+ virtual int set_credentials(const char *ssid, const char *pass, nsapi_security_t security = NSAPI_SECURITY_NONE){ };
+ virtual int set_channel(uint8_t channel){ };
+ virtual const char *get_gateway() { };
+ virtual const char *get_netmask() { };
+ virtual int8_t get_rssi() { };
+ virtual int scan(WiFiAccessPoint *res, unsigned count) { };
+
+ //using NetworkInterface::gethostbyname;
protected:
/** Open a socket
