 
     if ((current[device] - prev[device]) >= interv && interval[device]) {
         prev[device] = current[device];
-        //        Serial.print(interval[device]);
         return true;
     }
     return false;
 }
 
 float getFloat(char cString[]) {
-    //while(inChar != '\n') {
     String newString = cString;
     String value = newString.substring(2, newString.length());
     Serial.print("String: ");

                    }
            }
            break;
    }
}


        //            Serial.println(data);
        ble.print(data);
    }
}

void combineCommandAndFloat(char command[], float reading, char *buffer) {
    char floatAsString[9];
    dtostrf(reading, 3, 2, floatAsString);
    sprintf(buffer, "%s%s", command, floatAsString);
}

boolean reportAtInterval(unsigned long interv, int device) {
