xdw

Fork of WizFi310Interface_Legacynew by Akshay Tom

Revision:
2:a4890cc8be69
Parent:
0:774ff1e8b26b
--- a/WizFi310/WizFi310_at.cpp	Tue May 02 00:31:36 2017 +0000
+++ b/WizFi310/WizFi310_at.cpp	Mon Sep 18 02:50:44 2017 +0000
@@ -99,6 +99,10 @@
 
     return resp;
 }
+int WizFi310::cmdTEST()
+{
+  return sendCommand("AT");
+}
 
 int WizFi310::cmdMECHO(bool flg)
 {
@@ -166,7 +170,7 @@
 int WizFi310::cmdWANT(AntennaMode mode)
 {
     char cmd[CFG_CMD_SIZE];
-    sprintf(cmd, "AT+WANT=%d",mode);
+    sprintf(cmd, "AT+WANT=%d",mode); 
     
     return sendCommand(cmd);
 }