- tncHighRateFlag = false;
-}
-
-/**
- * Determine if the hardware if ready to transmit a 1200 baud packet.
- *
- * @return true if ready; otherwise false
- */
-bool_t tncIsFree()
-{
- if (tncMode == TNC_TX_READY)
- return true;
-
- return false;
-}
-
-void tncHighRate(bool_t state)
-{
- tncHighRateFlag = state;
-}
-
-/**
- * Determine if the seconds value timeSeconds is a valid time slot to transmit
- * a message. Time seconds is in UTC.
- *
- * @param timeSeconds UTC time in seconds
- *
- * @return true if valid time slot; otherwise false
- */
-bool_t tncIsTimeSlot (uint8_t timeSeconds)
-{
- if (tncHighRateFlag)
- {
- if ((timeSeconds % 5) == 0)
- return true;
-
- return false;
- } // END if
-
- switch (timeSeconds)
- {
- case 0:
- case 15:
- case 30:
- case 45:
- return true;
-
- default:
- return false;
- } // END switch