Make CSMA_LIMIT=-90dBm (less sensitive when sending)

Sometimes (especially 433Mhz versions) are too sensitive or there is more noise in the channel than usual. Touching the antenna or coiling it helps a lot but a more permanent fix is to adjust the sensitivity.
This addresses the issue when send sensitivity is too high and the radio will spend a lot of time reading RSSI to make sure channel is clear, resulting in dropped ACKs.
This commit is contained in:
LowPowerLab 2013-08-02 10:27:14 -04:00
parent 88ae43b0fc
commit 0c45be8b48
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#define SPI_CS SS // SS is the SPI slave select pin, for instance D10 on atmega328
#define RF69_IRQ_PIN 2 // INT0 on AVRs should be connected to DIO0
// ex on Atmega328 it's D2
#define CSMA_LIMIT -100 // upper RX signal sensitivity threshold in dBm for carrier sense access
#define CSMA_LIMIT -90 // upper RX signal sensitivity threshold in dBm for carrier sense access
#define RF69_MODE_SLEEP 0 // XTAL OFF
#define RF69_MODE_STANDBY 1 // XTAL ON
#define RF69_MODE_SYNTH 2 // PLL ON
@ -91,4 +91,4 @@ class RFM69 {
void unselect();
};
#endif
#endif