 
         sendAnnouncement();
     } else if(event == TASK_REPORT) {
-        // Transmit any buffered measurements
-        myputs("\n=> ");
-        for(byte j=0; j<databufferpos; j++) {
-            myprintf("%X ", databuffer[j]);
-        }
-        myputs("\n");
-        serialFlush();
+        if(databufferpos == 1)
+            return;
+        if(useSerial) {
+            // Transmit any buffered measurements
+            myputs("\n=> ");
+            for(byte j=0; j<databufferpos; j++) {
+                myprintf("%X ", databuffer[j]);
+            }
+            myputs("\n");
+            serialFlush();
+        }
 
         rf12_sleep(RF12_WAKEUP);
         rf12_sendNow(0, databuffer, databufferpos);

        return 1;
    }

    // Print measurements
    myprintf("%d: ", plug.port);
    for(byte j=0; j<dev->num_measurements; j++) {
        myprintf("%d, ", measurements[j]);
    }
    myputs("\n");
    serialFlush();

    if(record) {
        bufferMeasurements(plug, measurements);

#include "JnPlugs.h"

#define JG_EEPROM_ADDR ((uint8_t*) 0x80)

// Flags indicating actions on the serial port
static byte useSerial = 1;   // If we want the serial port active
static byte readSerial = 0;  // If we've ever received anything

// Lame floating point format, only powers of ten = mant*10^exp
// 4 bits mantissa (0..15), 4 bits exponent (-8..7)
