- Added setBaud() function - Added CheckNetworkStatus() function - Improved messaging system

Dependents:   IoT_Ex BatteryModelTester BatteryModelTester

Fork of WiflyInterface by Components

Revision:
13:8846f12fa277
Parent:
12:1aaea7f302e6
Child:
14:5a9561156acc
--- a/WiflyInterface.cpp	Thu Feb 18 12:05:53 2016 +0000
+++ b/WiflyInterface.cpp	Thu Feb 18 12:12:30 2016 +0000
@@ -29,7 +29,8 @@
 
 int WiflyInterface::connect()
 {
-    int i = join();
+    // join() returns a boolean, it does not like it all the time, thus casting it as int
+    int i = (int) join();
     pc.printf("Join() complete. %d\n\r",i);
     return i;
 }