Add weighted tx delay for flooding router

This commit is contained in:
Jm Casler
2022-03-14 17:47:01 -07:00
parent bb15a001f7
commit 3816a2fbe0
4 changed files with 66 additions and 2 deletions

View File

@@ -148,6 +148,13 @@ class RadioLibInterface : public RadioInterface, protected concurrency::Notified
* */
void startTransmitTimer(bool withDelay = true);
/** if we have something waiting to send, start a short scaled timer based on SNR so we can come check for collision before actually doing
* the transmit
*
* If the timer was already running, we just wait for that one to occur.
* */
void startTransmitTimerSNR(float snr);
void handleTransmitInterrupt();
void handleReceiveInterrupt();