ban4jp - / XBee_with_SPI

Dependents:   XBeeWiFi_SPI_example

Fork of XBee by Suga koubou

Revision:
8:dd519c8ac6f7
Parent:
7:b36422ef864f
Child:
9:e32c2e5390d3
diff -r b36422ef864f -r dd519c8ac6f7 XBeeWiFi.h
--- 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
     /**