     } else {
         fracTempOutsideC = (int(sensorData.tempOutsideC) - sensorData.tempOutsideC) * PRECISION;
     }
-    sprintf(buffer, "0x%02x:0x%02x:%x:%d.%02d:%d.%02d:%d.%02d", 
-      CMD_READING, 
+    sprintf(buffer, "0x%02x:%x:0x%02x:%x:%d.%02d:%d.%02d:%d.%02d", 
+      command,
+      sensorData.status,
       sensorData.ldr, 
       sensorData.hall,
       decBatteryVoltage, fracBatteryVoltage,

  buffer[0] = MYID;
  buffer[1] = CMD_BOOT;
  radio.Wakeup();
  radio.Send(GATEWAYID, payload, 10, true);
  if (waitForAck(GATEWAYID)) {
    Serial.println("RF Gateway Found - Loading sensor defaults...");
  } else {

    Serial.print("reading [");
    Serial.print(buffer);
    Serial.print("]");
    
    // transmit reading to gateway
    radio.Send(GATEWAYID, buffer, strlen(buffer), true);
    Serial.print(" : waiting for ACK - ");
    if (waitForAck(GATEWAYID)) Serial.println("<OK>");
    else Serial.println("<NONE>");
}

//------------------------------------------------------------------------------
