 
 // Schedule TX every this many seconds (might become longer due to duty
 // cycle limitations).
-const unsigned TX_INTERVAL = 60;
+const unsigned TX_INTERVAL = 5;
 
 // global flag for test mode.
 bool g_fTestMode = false;


*/

void myEventCb(void *pUserData, ev_t ev) {
    Serial.print(os_getTime());
    Serial.print(": ");
    switch(ev) {
        case EV_SCAN_TIMEOUT:
            Serial.println(F("EV_SCAN_TIMEOUT"));

                if (nMessage > 0)
                    Serial.print(pMessage[0], HEX);
                Serial.print(F(" length 0x"));
                Serial.println((unsigned) nMessage);
            }
            return;
        }
