Skip to content

Commit

Permalink
Merge pull request #1926 from GUVWAF/master
Browse files Browse the repository at this point in the history
Set preamble length back to 32
  • Loading branch information
thebentern authored Nov 9, 2022
2 parents f0279e7 + 1213ec2 commit 8146e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/RadioInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class RadioInterface
- Tx/Rx turnaround time (maximum of SX126x and SX127x);
- MAC processing time (measured on T-beam) */
uint32_t slotTimeMsec = 8.5 * pow(2, sf)/bw + 0.2 + 0.4 + 7;
uint16_t preambleLength = 8; // 8 is default
uint16_t preambleLength = 32; // 8 is default, but we use longer to increase the amount of sleep time when receiving
const uint32_t PROCESSING_TIME_MSEC = 4500; // time to construct, process and construct a packet again (empirically determined)
const uint8_t CWmin = 2; // minimum CWsize
const uint8_t CWmax = 8; // maximum CWsize
Expand Down

0 comments on commit 8146e84

Please sign in to comment.