Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
162:5e8948b8044d
Parent:
126:c85ac6a8e9af
Child:
163:7b8d4c8b03e4
Child:
165:9a19fa706b72
diff -r 9d47fe5ba805 -r 5e8948b8044d src/ConfigurationHandler/ConfigurationHandler.cpp
--- a/src/ConfigurationHandler/ConfigurationHandler.cpp	Fri Sep 30 14:32:26 2016 +0000
+++ b/src/ConfigurationHandler/ConfigurationHandler.cpp	Fri Sep 30 20:10:50 2016 +0000
@@ -116,10 +116,12 @@
 
         printf("\rLoading persistent controls: \n");
         std::vector<mDot::mdot_file> file_list = GLOBAL_mdot->listUserFiles();
+        printf("\rLoaded File List\r\n");
         
         loaded = true;
 
         for (std::vector<mDot::mdot_file>::iterator i = file_list.begin(); i != file_list.end(); ++i) {
+            printf("\rFile: %s\r\n",i->name);
             if( strncmp( i->name, CONTROL_SP_STR, strlen(CONTROL_SP_STR)) == 0 ) {
                 // create the setpoint control
                 Message_t msg;
@@ -147,9 +149,12 @@
                 // TODO: delete any timed manual control, not continuous...
                 GLOBAL_mdot->deleteUserFile(i->name);
             } else {
+                printf("\rNot A Control File%s\r\n",i->name);
                 // not a control file
             }
+            printf("\rend of loop:%s\r\n",i->name);
         }
+         printf("\rOUT OF LOOP\r\n");
     }
     return 0;
 }