 
 long _lastIdleTime = 0;
 long _lastListenTime = 0;
-long _LisTxStartTime = 0;
+long _lastTransmitTime = 0;
+long _lisTxStartTime = 0;
 bool _workDone = false;   /* This flag could be for data collection, retransmission, etc. */
 
 uint8_t _recvBuf[RH_RF69_MAX_MESSAGE_LEN];

    }
  }
  /* Start listening again until listening duration is exhausted */
  if (millis() - _LisTxStartTime <= LIS_TX_DURATION) {
    _lastListenTime = millis();
    state_set(STATE_LISTEN);
    return STATUS_OK;


// Duration and Timeout in Milliseconds
#define IDLE_TIMEOUT      10000
#define LISTEN_TIMEOUT    5000
#define TRANSMIT_TIMEOUT  5000
#define LIS_TX_DURATION   30000
#define SLEEP_TIME        20000

