Increased stability. Higher radio speeds (2mbps). Soft-acks implemeted to avoid the unreliable hw-acks. No trash messages found during test runs.

This commit is contained in:
Henrik Ekblad
2014-02-05 00:30:32 +01:00
parent 25c7f386db
commit 1ae8353d13
6 changed files with 124 additions and 137 deletions
+2
View File
@@ -47,6 +47,8 @@ void setup()
// reserve bytes for the inputString. RadioId;ChildId;VAR=VALUE
inputString.reserve(MAX_RECEIVE_LENGTH);
gw.begin();
gw.setPALevel(RF24_PA_HIGH); //Adjust PA-level: MIN, LOW, HIGH, MAX (MAX can sometimes cause problems when using amplified NRF24L01)
// C++ classes and interrupts really sucks. Need to attach interrupt
// outside thw Gateway class due to language shortcomings! Gah!