diff --git a/_s_x1272_8h_source.html b/_s_x1272_8h_source.html
index 9955b10f..2ac0292c 100644
--- a/_s_x1272_8h_source.html
+++ b/_s_x1272_8h_source.html
@@ -209,59 +209,59 @@ $(document).ready(function(){initNavTree('_s_x1272_8h_source.html',''); initResi
- 254 int16_t
setCRC(
bool enableCRC);
-
-
-
-
-
-
-
-
-
- 290 #if !defined(RADIOLIB_GODMODE)
-
-
- 293 int16_t setBandwidthRaw(uint8_t newBandwidth);
- 294 int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
- 295 int16_t setCodingRateRaw(uint8_t newCodingRate);
- 296 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
-
-
+ 256 int16_t
setCRC(
bool enable,
bool mode =
false);
+
+
+
+
+
+
+
+
+
+ 292 #if !defined(RADIOLIB_GODMODE)
+
+
+ 295 int16_t setBandwidthRaw(uint8_t newBandwidth);
+ 296 int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
+ 297 int16_t setCodingRateRaw(uint8_t newCodingRate);
+ 298 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
- 300 #if !defined(RADIOLIB_GODMODE)
-
-
- 303 bool _ldroAuto =
true;
- 304 bool _ldroEnabled =
false;
-
-
+
+
+ 302 #if !defined(RADIOLIB_GODMODE)
+
+
+ 305 bool _ldroAuto =
true;
+ 306 bool _ldroEnabled =
false;
-
+
+
+
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values range from 860.0 MHz to 1020.0 MHz.
Definition: SX1272.cpp:70
int16_t begin(float freq=915.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=SX127X_SYNC_WORD, int8_t power=10, uint16_t preambleLength=8, uint8_t gain=0)
LoRa modem initialization method. Must be called at least once from Arduino sketch to initialize the ...
Definition: SX1272.cpp:8
int16_t setGain(uint8_t gain)
Sets gain of receiver LNA (low-noise amplifier). Can be set to any integer in range 1 to 6 where 1 is...
Definition: SX1272.cpp:240
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa link spreading factor. Allowed values range from 6 to 12. Only available in LoRa mode.
Definition: SX1272.cpp:121
-int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:376
+int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:385
Derived class for SX1272 modules. Also used as base class for SX1273. Both modules use the same basic...
Definition: SX1272.h:95
int16_t setDataShapingOOK(uint8_t sh)
Sets filter cutoff frequency that will be used for data shaping. Allowed values are 1 for frequency e...
Definition: SX1272.cpp:295
int16_t setCodingRate(uint8_t cr)
Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode...
Definition: SX1272.cpp:177
Base class for SX127x series. All derived classes for SX127x (e.g. SX1278 or SX1272) inherit from thi...
Definition: SX127x.h:547
-int16_t setCRC(bool enableCRC)
Enables/disables CRC check of received packets.
Definition: SX1272.cpp:357
int16_t setBandwidth(float bw)
Sets LoRa link bandwidth. Allowed values are 125, 250 and 500 kHz. Only available in LoRa mode.
Definition: SX1272.cpp:81
-int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:389
+int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:398
int16_t setDataShaping(uint8_t sh) override
Sets Gaussian filter bandwidth-time product that will be used for data shaping. Only available in FSK...
Definition: SX1272.cpp:265
int16_t beginFSK(float freq=915.0, float br=48.0, float rxBw=125.0, float freqDev=50.0, int8_t power=10, uint16_t preambleLength=16, bool enableOOK=false)
FSK modem initialization method. Must be called at least once from Arduino sketch to initialize the m...
Definition: SX1272.cpp:40
Implements all common low-level SPI/UART/I2C methods to control the wireless module....
Definition: Module.h:17
float getRSSI()
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1272.cpp:328
void reset() override
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX1272.cpp:62
+int16_t setCRC(bool enable, bool mode=false)
Enables/disables CRC check of received packets.
Definition: SX1272.cpp:357
SX1272(Module *mod)
Default constructor. Called from Arduino sketch when creating new LoRa instance.
Definition: SX1272.cpp:4
-int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1272.cpp:398
-int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1272.cpp:402
+int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1272.cpp:407
+int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1272.cpp:411
int16_t setOutputPower(int8_t power)
Sets transmission output power. Allowed values range from 2 to 17 dBm.
Definition: SX1272.cpp:211
diff --git a/_s_x1278_8h_source.html b/_s_x1278_8h_source.html
index cbce2171..cf14aa30 100644
--- a/_s_x1278_8h_source.html
+++ b/_s_x1278_8h_source.html
@@ -218,54 +218,54 @@ $(document).ready(function(){initNavTree('_s_x1278_8h_source.html',''); initResi
-
262 int16_t
setCRC(
bool enableCRC);
-
-
-
-
-
-
-
-
-
-
298 #if !defined(RADIOLIB_GODMODE)
-
-
-
301 int16_t setBandwidthRaw(uint8_t newBandwidth);
-
302 int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
-
303 int16_t setCodingRateRaw(uint8_t newCodingRate);
-
304 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
-
-
+
264 int16_t
setCRC(
bool enable,
bool mode =
false);
+
+
+
+
+
+
+
+
+
+
300 #if !defined(RADIOLIB_GODMODE)
+
+
+
303 int16_t setBandwidthRaw(uint8_t newBandwidth);
+
304 int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
+
305 int16_t setCodingRateRaw(uint8_t newCodingRate);
+
306 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
-
308 #if !defined(RADIOLIB_GODMODE)
-
-
-
311 bool _ldroAuto =
true;
-
312 bool _ldroEnabled =
false;
-
-
+
+
+
310 #if !defined(RADIOLIB_GODMODE)
+
+
+
313 bool _ldroAuto =
true;
+
314 bool _ldroEnabled =
false;
-
+
+
+
void reset() override
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX1278.cpp:57
float getRSSI()
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1278.cpp:399
-int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1278.cpp:476
+int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1278.cpp:485
int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=SX127X_SYNC_WORD, int8_t power=10, uint16_t preambleLength=8, uint8_t gain=0)
LoRa modem initialization method. Must be called at least once from Arduino sketch to initialize the ...
Definition: SX1278.cpp:8
SX1278(Module *mod)
Default constructor. Called from Arduino sketch when creating new LoRa instance.
Definition: SX1278.cpp:4
-int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1278.cpp:480
+int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1278.cpp:489
int16_t setCodingRate(uint8_t cr)
Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode...
Definition: SX1278.cpp:249
+int16_t setCRC(bool enable, bool mode=false)
Enables/disables CRC check of received packets.
Definition: SX1278.cpp:435
int16_t setBandwidth(float bw)
Sets LoRa link bandwidth. Allowed values are 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125,...
Definition: SX1278.cpp:139
Derived class for SX1278 modules. Also used as base class for SX1276, SX1277, SX1279,...
Definition: SX1278.h:104
-int16_t setCRC(bool enableCRC)
Enables/disables CRC check of received packets.
Definition: SX1278.cpp:435
Base class for SX127x series. All derived classes for SX127x (e.g. SX1278 or SX1272) inherit from thi...
Definition: SX127x.h:547
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values range from 137.0 MHz to 525.0 MHz.
Definition: SX1278.cpp:65
Implements all common low-level SPI/UART/I2C methods to control the wireless module....
Definition: Module.h:17
-int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:454
-int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:467
+int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:463
+int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:476
int16_t setDataShapingOOK(uint8_t sh)
Sets filter cutoff frequency that will be used for data shaping. Allowed values are 1 for frequency e...
Definition: SX1278.cpp:367
int16_t setGain(uint8_t gain)
Sets gain of receiver LNA (low-noise amplifier). Can be set to any integer in range 1 to 6 where 1 is...
Definition: SX1278.cpp:312
int16_t setDataShaping(uint8_t sh) override
Sets Gaussian filter bandwidth-time product that will be used for data shaping. Only available in FSK...
Definition: SX1278.cpp:337
diff --git a/class_r_f_m95-members.html b/class_r_f_m95-members.html
index ea2a7787..c49d2213 100644
--- a/class_r_f_m95-members.html
+++ b/class_r_f_m95-members.html
@@ -133,7 +133,7 @@ $(document).ready(function(){initNavTree('class_r_f_m95.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
- setCRC(bool enableCRC) | SX1278 | |
+ setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_r_f_m95.html b/class_r_f_m95.html
index 8767f781..1a7df42b 100644
--- a/class_r_f_m95.html
+++ b/class_r_f_m95.html
@@ -159,9 +159,9 @@ void | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-int16_t | setCRC (bool enableCRC) |
- | Enables/disables CRC check of received packets. More...
|
- |
+int16_t | setCRC (bool enable, bool mode=false) |
+ | Enables/disables CRC check of received packets. More...
|
+ |
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_r_f_m96-members.html b/class_r_f_m96-members.html
index 9f96ea7e..b26272ee 100644
--- a/class_r_f_m96-members.html
+++ b/class_r_f_m96-members.html
@@ -133,7 +133,7 @@ $(document).ready(function(){initNavTree('class_r_f_m96.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
- setCRC(bool enableCRC) | SX1278 | |
+ setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_r_f_m96.html b/class_r_f_m96.html
index c63e99ac..e7012cc4 100644
--- a/class_r_f_m96.html
+++ b/class_r_f_m96.html
@@ -158,9 +158,9 @@ void | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-int16_t | setCRC (bool enableCRC) |
- | Enables/disables CRC check of received packets. More...
|
- |
+int16_t | setCRC (bool enable, bool mode=false) |
+ | Enables/disables CRC check of received packets. More...
|
+ |
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_r_f_m97-members.html b/class_r_f_m97-members.html
index 0493d299..c90cc5a8 100644
--- a/class_r_f_m97-members.html
+++ b/class_r_f_m97-members.html
@@ -134,7 +134,7 @@ $(document).ready(function(){initNavTree('class_r_f_m97.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
- setCRC(bool enableCRC) | SX1278 | |
+ setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_r_f_m97.html b/class_r_f_m97.html
index 9b3e1163..e7e3862a 100644
--- a/class_r_f_m97.html
+++ b/class_r_f_m97.html
@@ -166,9 +166,9 @@ void | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-int16_t | setCRC (bool enableCRC) |
- | Enables/disables CRC check of received packets. More...
|
- |
+int16_t | setCRC (bool enable, bool mode=false) |
+ | Enables/disables CRC check of received packets. More...
|
+ |
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_s_x1272-members.html b/class_s_x1272-members.html
index 20b11007..d842424d 100644
--- a/class_s_x1272-members.html
+++ b/class_s_x1272-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1272.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1272 | |
- setCRC(bool enableCRC) | SX1272 | |
+ setCRC(bool enable, bool mode=false) | SX1272 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1272 | virtual |
setDataShapingOOK(uint8_t sh) | SX1272 | |
diff --git a/class_s_x1272.html b/class_s_x1272.html
index 1fb6e7d7..c22496c6 100644
--- a/class_s_x1272.html
+++ b/class_s_x1272.html
@@ -148,9 +148,9 @@ void | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-int16_t | setCRC (bool enableCRC) |
- | Enables/disables CRC check of received packets. More...
|
- |
+int16_t | setCRC (bool enable, bool mode=false) |
+ | Enables/disables CRC check of received packets. More...
|
+ |
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
@@ -720,8 +720,8 @@ void
-◆ setCRC()
+
+◆ setCRC()
@@ -730,8 +730,18 @@ void | int16_t SX1272::setCRC |
( |
bool |
- enableCRC | ) |
+ enable, |
+
+
+ |
|
+ bool |
+ mode = false |
+
+
+ |
+ ) |
+ | |
@@ -739,7 +749,8 @@ void
Parameters
- enableCRC | Enable (true) or disable (false) CRC. |
+ enable | Enable (true) or disable (false) CRC. |
+ mode | Set CRC mode to SX127X_CRC_WHITENING_TYPE_CCITT for CCITT, polynomial X16 + X12 + X5 + 1 (false) or SX127X_CRC_WHITENING_TYPE_IBM for IBM, polynomial X16 + X15 + X2 + 1 (true). Only valid in FSK mode. |
diff --git a/class_s_x1272.js b/class_s_x1272.js
index d7599161..d2016cfc 100644
--- a/class_s_x1272.js
+++ b/class_s_x1272.js
@@ -11,7 +11,7 @@ var class_s_x1272 =
[ "reset", "class_s_x1272.html#a0978cc9ecbb7b9d3a017c133506e57ac", null ],
[ "setBandwidth", "class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b", null ],
[ "setCodingRate", "class_s_x1272.html#a960913438feccad4c1913a9222384a5f", null ],
- [ "setCRC", "class_s_x1272.html#a5a57abb0bc9f474452ffb828b13d1efb", null ],
+ [ "setCRC", "class_s_x1272.html#abd912314a977f92c464d36d862329ffc", null ],
[ "setDataShaping", "class_s_x1272.html#a91aca64124321c07a67f26b3c6934aea", null ],
[ "setDataShapingOOK", "class_s_x1272.html#a3a377445cb4b8fd41781a3210a819a47", null ],
[ "setFrequency", "class_s_x1272.html#af409f50e51042cf9357c0a8267f762f8", null ],
diff --git a/class_s_x1273-members.html b/class_s_x1273-members.html
index 16fb191e..b5581a89 100644
--- a/class_s_x1273-members.html
+++ b/class_s_x1273-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1273.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1272 | |
- setCRC(bool enableCRC) | SX1272 | |
+ setCRC(bool enable, bool mode=false) | SX1272 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1272 | virtual |
setDataShapingOOK(uint8_t sh) | SX1272 | |
diff --git a/class_s_x1273.html b/class_s_x1273.html
index aa745de7..8c09ebd5 100644
--- a/class_s_x1273.html
+++ b/class_s_x1273.html
@@ -158,9 +158,9 @@ void | | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-
int16_t | setCRC (bool enableCRC) |
-
| Enables/disables CRC check of received packets. More...
|
-
|
+
int16_t | setCRC (bool enable, bool mode=false) |
+
| Enables/disables CRC check of received packets. More...
|
+
|
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_s_x1276-members.html b/class_s_x1276-members.html
index a7b4f0d1..83e70a95 100644
--- a/class_s_x1276-members.html
+++ b/class_s_x1276-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1276.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
-
setCRC(bool enableCRC) | SX1278 | |
+
setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_s_x1276.html b/class_s_x1276.html
index 2a4f6011..39e6266d 100644
--- a/class_s_x1276.html
+++ b/class_s_x1276.html
@@ -161,9 +161,9 @@ void
| float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-
int16_t | setCRC (bool enableCRC) |
-
| Enables/disables CRC check of received packets. More...
|
-
|
+
int16_t | setCRC (bool enable, bool mode=false) |
+
| Enables/disables CRC check of received packets. More...
|
+
|
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_s_x1277-members.html b/class_s_x1277-members.html
index 42f46a43..ae5a3e53 100644
--- a/class_s_x1277-members.html
+++ b/class_s_x1277-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1277.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
-
setCRC(bool enableCRC) | SX1278 | |
+
setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_s_x1277.html b/class_s_x1277.html
index 67bc1bfd..3d4572c1 100644
--- a/class_s_x1277.html
+++ b/class_s_x1277.html
@@ -164,9 +164,9 @@ void
| float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-
int16_t | setCRC (bool enableCRC) |
-
| Enables/disables CRC check of received packets. More...
|
-
|
+
int16_t | setCRC (bool enable, bool mode=false) |
+
| Enables/disables CRC check of received packets. More...
|
+
|
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/class_s_x1278-members.html b/class_s_x1278-members.html
index 986aad7e..5eab0067 100644
--- a/class_s_x1278-members.html
+++ b/class_s_x1278-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1278.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
-
setCRC(bool enableCRC) | SX1278 | |
+
setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_s_x1278.html b/class_s_x1278.html
index e5602956..4f286354 100644
--- a/class_s_x1278.html
+++ b/class_s_x1278.html
@@ -153,9 +153,9 @@ void
| float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-
int16_t | setCRC (bool enableCRC) |
-
| Enables/disables CRC check of received packets. More...
|
-
|
+
int16_t | setCRC (bool enable, bool mode=false) |
+
| Enables/disables CRC check of received packets. More...
|
+
|
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
@@ -725,8 +725,8 @@ void
-◆ setCRC()
+
+◆ setCRC()
@@ -735,8 +735,18 @@ void | int16_t SX1278::setCRC |
( |
bool |
-
enableCRC | ) |
+
enable, |
+
+
+ |
|
+ bool |
+ mode = false |
+
+
+ |
+ ) |
+ | |
@@ -744,7 +754,8 @@ void
Parameters
- enableCRC | Enable (true) or disable (false) CRC. |
+ enable | Enable (true) or disable (false) CRC. |
+ mode | Set CRC mode to SX127X_CRC_WHITENING_TYPE_CCITT for CCITT, polynomial X16 + X12 + X5 + 1 (false) or SX127X_CRC_WHITENING_TYPE_IBM for IBM, polynomial X16 + X15 + X2 + 1 (true). Only valid in FSK mode. |
diff --git a/class_s_x1278.js b/class_s_x1278.js
index 4144220c..9f090962 100644
--- a/class_s_x1278.js
+++ b/class_s_x1278.js
@@ -11,7 +11,7 @@ var class_s_x1278 =
[ "reset", "class_s_x1278.html#a6d60902ac59b653a9eb83e82a932f7ad", null ],
[ "setBandwidth", "class_s_x1278.html#a46c27ed1ebaae4e3ed8afe3ae6941dd6", null ],
[ "setCodingRate", "class_s_x1278.html#a834f26a0bd3fc8a03fa7e68aa4daf9e1", null ],
- [ "setCRC", "class_s_x1278.html#adf0b0d628c7f7479f19c153732363462", null ],
+ [ "setCRC", "class_s_x1278.html#ac0be7586b8e40355bbd29d78ae9941d1", null ],
[ "setDataShaping", "class_s_x1278.html#afb740a4925b64d83d5edca10d93f0563", null ],
[ "setDataShapingOOK", "class_s_x1278.html#a1ccc4d5062f739d534ab22562c7efca4", null ],
[ "setFrequency", "class_s_x1278.html#a4b14d432ef1bd72982f4771cac5b62e4", null ],
diff --git a/class_s_x1279-members.html b/class_s_x1279-members.html
index 29c174b4..c000b99d 100644
--- a/class_s_x1279-members.html
+++ b/class_s_x1279-members.html
@@ -132,7 +132,7 @@ $(document).ready(function(){initNavTree('class_s_x1279.html',''); initResizable
setBitRate(float br) | SX127x | |
setBroadcastAddress(uint8_t broadAddr) | SX127x | |
setCodingRate(uint8_t cr) | SX1278 | |
- setCRC(bool enableCRC) | SX1278 | |
+ setCRC(bool enable, bool mode=false) | SX1278 | |
setCurrentLimit(uint8_t currentLimit) | SX127x | |
setDataShaping(uint8_t sh) override | SX1278 | virtual |
setDataShapingOOK(uint8_t sh) | SX1278 | |
diff --git a/class_s_x1279.html b/class_s_x1279.html
index d1bb01eb..34742ac9 100644
--- a/class_s_x1279.html
+++ b/class_s_x1279.html
@@ -161,9 +161,9 @@ void | | float | getRSSI () |
| Gets recorded signal strength indicator of the latest received packet for LoRa modem, or current RSSI level for FSK modem. More...
|
|
-
int16_t | setCRC (bool enableCRC) |
-
| Enables/disables CRC check of received packets. More...
|
-
|
+
int16_t | setCRC (bool enable, bool mode=false) |
+
| Enables/disables CRC check of received packets. More...
|
+
|
int16_t | forceLDRO (bool enable) |
| Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method, LDRO will always be set to the provided value, regardless of symbol length. To re-enable automatic LDRO configuration, call SX1278::autoLDRO() More...
|
|
diff --git a/functions_func_s.html b/functions_func_s.html
index 915a0ecd..a2e554c2 100644
--- a/functions_func_s.html
+++ b/functions_func_s.html
@@ -145,8 +145,8 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
setCRC()
: SX126x
-, SX1272
-, SX1278
+, SX1272
+, SX1278
, SX128x
setCrcFiltering()
diff --git a/functions_s.html b/functions_s.html
index 64033b5c..afc9746d 100644
--- a/functions_s.html
+++ b/functions_s.html
@@ -151,8 +151,8 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
setCRC()
: SX126x
-, SX1272
-, SX1278
+, SX1272
+, SX1278
, SX128x
setCrcFiltering()
diff --git a/navtreeindex2.js b/navtreeindex2.js
index 11686276..4356c9e8 100644
--- a/navtreeindex2.js
+++ b/navtreeindex2.js
@@ -32,13 +32,13 @@ var NAVTREEINDEX2 =
"class_s_x1272.html#a3a377445cb4b8fd41781a3210a819a47":[3,0,35,13],
"class_s_x1272.html#a4aaf9d61310fa7b4fce413ae53d30ac0":[3,0,35,5],
"class_s_x1272.html#a4ee36122f8aca42b27a8412e0c362dd3":[3,0,35,7],
-"class_s_x1272.html#a5a57abb0bc9f474452ffb828b13d1efb":[3,0,35,11],
"class_s_x1272.html#a82084ac58502c83d2ada998410307490":[3,0,35,17],
"class_s_x1272.html#a91aca64124321c07a67f26b3c6934aea":[3,0,35,12],
"class_s_x1272.html#a960913438feccad4c1913a9222384a5f":[3,0,35,10],
"class_s_x1272.html#a9ffe467a6baaeaa079e02c3f1f43f626":[3,0,35,0],
"class_s_x1272.html#aaa5a787164fb216c12b8dea4d810f7f3":[3,0,35,2],
"class_s_x1272.html#abb4bbfe8acc6026c833d267d78417b63":[3,0,35,1],
+"class_s_x1272.html#abd912314a977f92c464d36d862329ffc":[3,0,35,11],
"class_s_x1272.html#ae1c57ad5e8496dc28cd3ba9852809852":[3,0,35,15],
"class_s_x1272.html#ae3596f303714509f552d98321bdfce5c":[3,0,35,16],
"class_s_x1272.html#ae3c9704cb58232f696b5f90f69c115f7":[3,0,35,4],
@@ -73,7 +73,7 @@ var NAVTREEINDEX2 =
"class_s_x1278.html#a834f26a0bd3fc8a03fa7e68aa4daf9e1":[3,0,39,10],
"class_s_x1278.html#a8eeac64472fa70ed5e51f35d581f37ea":[3,0,39,16],
"class_s_x1278.html#aa57b713988cfa224a6db2ff325052931":[3,0,39,15],
-"class_s_x1278.html#adf0b0d628c7f7479f19c153732363462":[3,0,39,11],
+"class_s_x1278.html#ac0be7586b8e40355bbd29d78ae9941d1":[3,0,39,11],
"class_s_x1278.html#ae02adcde8c2978c0d1b157729dd5df1e":[3,0,39,1],
"class_s_x1278.html#af70c22fe38bc3b944070ccbc083fed08":[3,0,39,17],
"class_s_x1278.html#af7d9dc775820f7b260b578908cea3dbe":[3,0,39,2],
diff --git a/navtreeindex3.js b/navtreeindex3.js
index 2d953bb4..da74694a 100644
--- a/navtreeindex3.js
+++ b/navtreeindex3.js
@@ -247,7 +247,7 @@ var NAVTREEINDEX3 =
"group__uart__config.html#gad418f0922126e27279d1a374fc63e036":[2,1,8],
"group__uart__config.html#gae077d53c5c120a989b1f285f183f1b78":[2,1,3],
"hierarchy.html":[3,2],
-"index.html":[0],
"index.html":[],
+"index.html":[0],
"modules.html":[2]
};
diff --git a/search/all_10.js b/search/all_10.js
index 9435358a..1657bd79 100644
--- a/search/all_10.js
+++ b/search/all_10.js
@@ -16,7 +16,7 @@ var searchData=
['setbitrate_240',['setBitRate',['../class_c_c1101.html#aa53427cabcda0778f287ed1d850bbe37',1,'CC1101::setBitRate()'],['../class_r_f69.html#ad7f8132912a5dbf38c5cf676ac167d13',1,'RF69::setBitRate()'],['../class_si443x.html#ad43575e731dd7e66d5ad9e6dccd27170',1,'Si443x::setBitRate()'],['../class_s_x126x.html#a7deeef45d7f64a4018a3e56aaea4eb0e',1,'SX126x::setBitRate()'],['../class_s_x127x.html#a606d839b3a992c681ac9ad7ca6020022',1,'SX127x::setBitRate()'],['../class_s_x128x.html#a3bee00ec197ef9855c0079cb0a3009a6',1,'SX128x::setBitRate()']]],
['setbroadcastaddress_241',['setBroadcastAddress',['../class_r_f69.html#a1b7598b87ffaabdbe733c47317fa91d8',1,'RF69::setBroadcastAddress()'],['../class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034',1,'SX126x::setBroadcastAddress()'],['../class_s_x127x.html#abc51ce6718153e4963128f25bb5aab40',1,'SX127x::setBroadcastAddress()']]],
['setcodingrate_242',['setCodingRate',['../class_s_x126x.html#afd3113858966e878e9c67a1e710bd586',1,'SX126x::setCodingRate()'],['../class_s_x1272.html#a960913438feccad4c1913a9222384a5f',1,'SX1272::setCodingRate()'],['../class_s_x1278.html#a834f26a0bd3fc8a03fa7e68aa4daf9e1',1,'SX1278::setCodingRate()'],['../class_s_x128x.html#a9da544e4a6120f73a078b46c6138505a',1,'SX128x::setCodingRate()']]],
- ['setcrc_243',['setCRC',['../class_s_x126x.html#a95007639c2648a1dbb614493224606f1',1,'SX126x::setCRC()'],['../class_s_x1272.html#a5a57abb0bc9f474452ffb828b13d1efb',1,'SX1272::setCRC()'],['../class_s_x1278.html#adf0b0d628c7f7479f19c153732363462',1,'SX1278::setCRC()'],['../class_s_x128x.html#aa4b1e0b96347011522e053f30202c0fe',1,'SX128x::setCRC()']]],
+ ['setcrc_243',['setCRC',['../class_s_x126x.html#a95007639c2648a1dbb614493224606f1',1,'SX126x::setCRC()'],['../class_s_x1272.html#abd912314a977f92c464d36d862329ffc',1,'SX1272::setCRC()'],['../class_s_x1278.html#ac0be7586b8e40355bbd29d78ae9941d1',1,'SX1278::setCRC()'],['../class_s_x128x.html#aa4b1e0b96347011522e053f30202c0fe',1,'SX128x::setCRC()']]],
['setcrcfiltering_244',['setCrcFiltering',['../class_c_c1101.html#aafac40359c4a1bb01aae12da6b03be26',1,'CC1101::setCrcFiltering()'],['../classn_r_f24.html#a3eb45884a5730ac1c339c7ba4f7b5282',1,'nRF24::setCrcFiltering()'],['../class_r_f69.html#ac205bc487833dc4eae4bb0069c0c4d1e',1,'RF69::setCrcFiltering()']]],
['setcurrentlimit_245',['setCurrentLimit',['../class_s_x126x.html#a8f971dca834be7e0470a9a9f0c01854e',1,'SX126x::setCurrentLimit()'],['../class_s_x127x.html#a400575e3d83977bd250c5cb382fc7002',1,'SX127x::setCurrentLimit()']]],
['setdatarate_246',['setDataRate',['../classn_r_f24.html#a1f3ec2196733a2e2476f50690967f285',1,'nRF24']]],
diff --git a/search/functions_10.js b/search/functions_10.js
index 36d1e446..e9fbdc31 100644
--- a/search/functions_10.js
+++ b/search/functions_10.js
@@ -14,7 +14,7 @@ var searchData=
['setbitrate_517',['setBitRate',['../class_c_c1101.html#aa53427cabcda0778f287ed1d850bbe37',1,'CC1101::setBitRate()'],['../class_r_f69.html#ad7f8132912a5dbf38c5cf676ac167d13',1,'RF69::setBitRate()'],['../class_si443x.html#ad43575e731dd7e66d5ad9e6dccd27170',1,'Si443x::setBitRate()'],['../class_s_x126x.html#a7deeef45d7f64a4018a3e56aaea4eb0e',1,'SX126x::setBitRate()'],['../class_s_x127x.html#a606d839b3a992c681ac9ad7ca6020022',1,'SX127x::setBitRate()'],['../class_s_x128x.html#a3bee00ec197ef9855c0079cb0a3009a6',1,'SX128x::setBitRate()']]],
['setbroadcastaddress_518',['setBroadcastAddress',['../class_r_f69.html#a1b7598b87ffaabdbe733c47317fa91d8',1,'RF69::setBroadcastAddress()'],['../class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034',1,'SX126x::setBroadcastAddress()'],['../class_s_x127x.html#abc51ce6718153e4963128f25bb5aab40',1,'SX127x::setBroadcastAddress()']]],
['setcodingrate_519',['setCodingRate',['../class_s_x126x.html#afd3113858966e878e9c67a1e710bd586',1,'SX126x::setCodingRate()'],['../class_s_x1272.html#a960913438feccad4c1913a9222384a5f',1,'SX1272::setCodingRate()'],['../class_s_x1278.html#a834f26a0bd3fc8a03fa7e68aa4daf9e1',1,'SX1278::setCodingRate()'],['../class_s_x128x.html#a9da544e4a6120f73a078b46c6138505a',1,'SX128x::setCodingRate()']]],
- ['setcrc_520',['setCRC',['../class_s_x126x.html#a95007639c2648a1dbb614493224606f1',1,'SX126x::setCRC()'],['../class_s_x1272.html#a5a57abb0bc9f474452ffb828b13d1efb',1,'SX1272::setCRC()'],['../class_s_x1278.html#adf0b0d628c7f7479f19c153732363462',1,'SX1278::setCRC()'],['../class_s_x128x.html#aa4b1e0b96347011522e053f30202c0fe',1,'SX128x::setCRC()']]],
+ ['setcrc_520',['setCRC',['../class_s_x126x.html#a95007639c2648a1dbb614493224606f1',1,'SX126x::setCRC()'],['../class_s_x1272.html#abd912314a977f92c464d36d862329ffc',1,'SX1272::setCRC()'],['../class_s_x1278.html#ac0be7586b8e40355bbd29d78ae9941d1',1,'SX1278::setCRC()'],['../class_s_x128x.html#aa4b1e0b96347011522e053f30202c0fe',1,'SX128x::setCRC()']]],
['setcrcfiltering_521',['setCrcFiltering',['../class_c_c1101.html#aafac40359c4a1bb01aae12da6b03be26',1,'CC1101::setCrcFiltering()'],['../classn_r_f24.html#a3eb45884a5730ac1c339c7ba4f7b5282',1,'nRF24::setCrcFiltering()'],['../class_r_f69.html#ac205bc487833dc4eae4bb0069c0c4d1e',1,'RF69::setCrcFiltering()']]],
['setcurrentlimit_522',['setCurrentLimit',['../class_s_x126x.html#a8f971dca834be7e0470a9a9f0c01854e',1,'SX126x::setCurrentLimit()'],['../class_s_x127x.html#a400575e3d83977bd250c5cb382fc7002',1,'SX127x::setCurrentLimit()']]],
['setdatarate_523',['setDataRate',['../classn_r_f24.html#a1f3ec2196733a2e2476f50690967f285',1,'nRF24']]],