kopia lustrzana https://github.com/jgromes/RadioLib
Porównaj commity
3 Commity
e5353a3680
...
7f49e69959
Autor | SHA1 | Data |
---|---|---|
Crsarmv7l | 7f49e69959 | |
Crsarmv7l | fb35416b34 | |
Crsarmv7l | 310dfc9242 |
|
@ -438,3 +438,4 @@ RADIOLIB_ERR_A_FCNT_DOWN_INVALID LITERAL1
|
|||
RADIOLIB_ERR_DATA_RATE_INVALID LITERAL1
|
||||
RADIOLIB_ERR_DWELL_TIME_EXCEEDED LITERAL1
|
||||
RADIOLIB_ERR_CHECKSUM_MISMATCH LITERAL1
|
||||
RADIOLIB_LORAWAN_NO_DOWNLINK LITERAL1
|
||||
|
|
|
@ -492,9 +492,9 @@ int16_t CC1101::setRxBandwidth(float rxBw) {
|
|||
int16_t CC1101::autoSetRxBandwidth() {
|
||||
// Uncertainty ~ +/- 40ppm for a cheap CC1101
|
||||
// Uncertainty * 2 for both transmitter and receiver
|
||||
float uncertainty = (this->frequency) * 40 * 2);
|
||||
float uncertainty = ((this->frequency) * 40 * 2);
|
||||
uncertainty = (uncertainty/1000); //Since bitrate is in kBit
|
||||
float minbw = (this->bitRate) + uncertainty);
|
||||
float minbw = ((this->bitRate) + uncertainty);
|
||||
|
||||
int possibles[16] = {58, 68, 81, 102, 116, 135, 162, 203, 232, 270, 325, 406, 464, 541, 650, 812};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue