Updated Default configuration (markdown)

master
Jan Gromeš 2021-02-07 17:40:54 +01:00
rodzic 405a47ebad
commit bdb195d6ae
1 zmienionych plików z 5 dodań i 1 usunięć

@ -215,6 +215,7 @@ SX126x::setDio2AsRfSwitch(true);
* Gain: 0 (automatic gain control enabled)
* Other:
* Over-current protection: 60 mA
* LoRa CRC: enabled
* Inaccessible:
* LoRa header mode: explicit
* Frequency hopping: disabled
@ -222,7 +223,8 @@ SX126x::setDio2AsRfSwitch(true);
Equivalent to (assuming SX1278):
```c++
SX1278::begin(434.0, 125.0, 9, 7, SX127X_SYNC_WORD, 10, 8, 0);
SX127x::setCurrentLimit(60);
SX1278::setCurrentLimit(60);
SX1278::setCRC(true);
```
### SX127x/RFM9x - FSK modem
@ -239,6 +241,7 @@ SX127x::setCurrentLimit(60);
* Sync word: 0x12 0xAD
* Data shaping B-T product: 0 (plain 2-FSK, no Gaussian filter applied)
* Encoding: NRZ (non-return to zero - no encoding)
* CRC: enabled
* Over-current protection: 60 mA
* Address filtering: disabled
* RSSI measurement configuration: 2^(1 + 2) samples, offset 0 dBm
@ -256,6 +259,7 @@ SX127x::setSyncWord(syncWord, 2);
SX1278::setDataShaping(RADIOLIB_SHAPING_NONE);
SX127x::setCurrentLimit(60);
SX127x::setEncoding(RADIOLIB_ENCODING_NRZ);
SX1278::setCRC(true);
SX127x::disableAddressFiltering();
SX127x::setRSSIConfig(2, 0);
```