From 06f00c18b9b81e4fa89eb2741ac09c11a565e233 Mon Sep 17 00:00:00 2001 From: Felix Rusu Date: Mon, 10 Mar 2014 20:07:41 -0400 Subject: [PATCH] Increase default ACK time Too short ACK causing missed packets --- RFM69.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFM69.h b/RFM69.h index 76a3f48..b163d47 100644 --- a/RFM69.h +++ b/RFM69.h @@ -55,7 +55,7 @@ class RFM69 { void setAddress(byte addr); bool canSend(); void send(byte toAddress, const void* buffer, byte bufferSize, bool requestACK=false); - bool sendWithRetry(byte toAddress, const void* buffer, byte bufferSize, byte retries=2, byte retryWaitTime=15); + bool sendWithRetry(byte toAddress, const void* buffer, byte bufferSize, byte retries=2, byte retryWaitTime=30); bool receiveDone(); bool ACKReceived(byte fromNodeID); void sendACK(const void* buffer = "", uint8_t bufferSize=0);