 
   Sketch used by UA Sensors platform.
 
-  Notes:
-  - Sketch handles specific case with current test sensor
-    where SD Card does not write
-  - Need to test if this version works on test sensor
-
   Created 14 6 2014
-  Modified 1 7 2014
+  Modified 2 7 2014
 */
 
 #include <LowPower.h>

    // 20. Turn off GSM.
    // -----------------

    // Turn off GSM power pin.
    if (sim900.ensureOffline() == false)
    {
      // TODO(richard-to): What would be best way to handle this issue?


    // 18. Prepare text message
    // ---------------------
    String textMessage = String(SENSOR_TYPE) + " " +
      String(sensorReadings[0].timestamp) + " " +
      String(sensorReadings[0].distance) + " " +
      String(sensorReadings[0].temperature);

    time_t startTime = sensorReadings[0].timestamp;
    int minutesElapsed = 0;

