   }
   
   /* Set the state machine to STATE_TRANSMIT */
+  _lastTransmitTime = millis();
   state_set(STATE_TRANSMIT);
   return STATUS_OK;
 }


long _lastIdleTime = 0;
long _lastListenTime = 0;
long _LisTxStartTime = 0;
bool _workDone = false;   /* This flag could be for data collection, retransmission, etc. */

uint8_t _recvBuf[RH_RF69_MAX_MESSAGE_LEN];


// 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

