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: XBeeWiFi_SPI_example
Fork of XBee by
Diff: XBeeWiFi.h
- Revision:
- 5:547cfff7adf7
- Parent:
- 4:f6d73acc1f75
- Child:
- 6:6f84e2840408
diff -r f6d73acc1f75 -r 547cfff7adf7 XBeeWiFi.h
--- a/XBeeWiFi.h Tue Mar 13 09:01:52 2012 +0000
+++ b/XBeeWiFi.h Tue Mar 13 09:11:35 2012 +0000
@@ -117,7 +117,7 @@
int getStatus ();
int getWiResponse (int apiId, int frameid = 0, int timeout = 3000);
#ifdef USE_WIFIDNS
- int setNameserver (IpAddr &nameserver);
+ int setNameserver (IpAddr &nameserver, int port);
int getHostByName (const char* name, IpAddr &addr);
#endif
/**
@@ -134,6 +134,7 @@
private:
IpAddr _nameserver;
+ int _nameport;
};
#endif
