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:
- 8:dd519c8ac6f7
- Parent:
- 7:b36422ef864f
- Child:
- 9:e32c2e5390d3
--- a/XBeeWiFi.h Wed Dec 18 02:32:33 2013 +0000
+++ b/XBeeWiFi.h Tue Dec 31 05:31:24 2013 +0000
@@ -19,7 +19,7 @@
#include "XBee.h"
#include <inttypes.h>
-#undef USE_WIFIDNS
+//#undef USE_WIFIDNS
// the non-variable length of the frame data (not including frame id or api id or variable data size (e.g. payload, at command set value)
#define IPv4_TRANSMIT_REQUEST_API_LENGTH 10
@@ -118,7 +118,7 @@
int getStatus ();
int getWiResponse (int apiId, int frameid = 0, int timeout = 3000);
#ifdef USE_WIFIDNS
- int setNameserver (IpAddr &nameserver, int port);
+ int setNameserver (IpAddr &nameserver, int port = DNS_PORT);
int getHostByName (const char* name, IpAddr &addr);
#endif
/**
