From 734aed6caf4802d737f69948d9f10fa0b3672dd2 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 17 Oct 2021 09:11:45 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=209d380?= =?UTF-8?q?7168f0cfed6b2e7e18644b13ee8c549be38=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _s_x1272_8h_source.html | 98 +++++++++++++++++------------------ _s_x1278_8h_source.html | 102 ++++++++++++++++++------------------- class_r_f_m95-members.html | 2 +- class_r_f_m95.html | 6 +-- class_r_f_m96-members.html | 2 +- class_r_f_m96.html | 6 +-- class_r_f_m97-members.html | 2 +- class_r_f_m97.html | 6 +-- class_s_x1272-members.html | 2 +- class_s_x1272.html | 25 ++++++--- class_s_x1272.js | 2 +- class_s_x1273-members.html | 2 +- class_s_x1273.html | 6 +-- class_s_x1276-members.html | 2 +- class_s_x1276.html | 6 +-- class_s_x1277-members.html | 2 +- class_s_x1277.html | 6 +-- class_s_x1278-members.html | 2 +- class_s_x1278.html | 25 ++++++--- class_s_x1278.js | 2 +- class_s_x1279-members.html | 2 +- class_s_x1279.html | 6 +-- functions_func_s.html | 4 +- functions_s.html | 4 +- navtreeindex2.js | 4 +- search/all_10.js | 2 +- search/functions_10.js | 2 +- 27 files changed, 176 insertions(+), 154 deletions(-) diff --git a/_s_x1272_8h_source.html b/_s_x1272_8h_source.html index f036a9ef..00a8c513 100644 --- a/_s_x1272_8h_source.html +++ b/_s_x1272_8h_source.html @@ -199,71 +199,71 @@ $(document).ready(function(){initNavTree('_s_x1272_8h_source.html',''); initResi
190 
198  int16_t setCodingRate(uint8_t cr);
199 
-
207  int16_t setOutputPower(int8_t power);
-
208 
-
217  int16_t setGain(uint8_t gain);
-
218 
-
227  int16_t setDataShaping(uint8_t sh) override;
-
228 
-
238  int16_t setDataShapingOOK(uint8_t sh);
-
239 
-
247  float getRSSI(bool skipReceive = false);
-
248 
-
258  int16_t setCRC(bool enable, bool mode = false);
-
259 
-
268  int16_t forceLDRO(bool enable);
-
269 
-
276  int16_t autoLDRO();
-
277 
-
283  int16_t implicitHeader(size_t len);
-
284 
-
292  int16_t explicitHeader();
-
293 
-
294 #if !defined(RADIOLIB_GODMODE)
-
295  protected:
-
296 #endif
-
297  int16_t setBandwidthRaw(uint8_t newBandwidth);
-
298  int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
-
299  int16_t setCodingRateRaw(uint8_t newCodingRate);
-
300  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
-
301 
-
302  int16_t configFSK();
-
303  void errataFix(bool rx);
-
304 
-
305 #if !defined(RADIOLIB_GODMODE)
-
306  private:
-
307 #endif
-
308  bool _ldroAuto = true;
-
309  bool _ldroEnabled = false;
-
310 
-
311 };
+
209  int16_t setOutputPower(int8_t power, bool useRfo = false);
+
210 
+
219  int16_t setGain(uint8_t gain);
+
220 
+
229  int16_t setDataShaping(uint8_t sh) override;
+
230 
+
240  int16_t setDataShapingOOK(uint8_t sh);
+
241 
+
249  float getRSSI(bool skipReceive = false);
+
250 
+
260  int16_t setCRC(bool enable, bool mode = false);
+
261 
+
270  int16_t forceLDRO(bool enable);
+
271 
+
278  int16_t autoLDRO();
+
279 
+
285  int16_t implicitHeader(size_t len);
+
286 
+
294  int16_t explicitHeader();
+
295 
+
296 #if !defined(RADIOLIB_GODMODE)
+
297  protected:
+
298 #endif
+
299  int16_t setBandwidthRaw(uint8_t newBandwidth);
+
300  int16_t setSpreadingFactorRaw(uint8_t newSpreadingFactor);
+
301  int16_t setCodingRateRaw(uint8_t newCodingRate);
+
302  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
+
303 
+
304  int16_t configFSK();
+
305  void errataFix(bool rx);
+
306 
+
307 #if !defined(RADIOLIB_GODMODE)
+
308  private:
+
309 #endif
+
310  bool _ldroAuto = true;
+
311  bool _ldroEnabled = false;
312 
-
313 #endif
+
313 };
314 
315 #endif
+
316 
+
317 #endif
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 setOutputPower(int8_t power, bool useRfo=false)
Sets transmission output power. Allowed values range from -1 to 14 dBm (RFO pin) or +2 to +20 dBm (PA...
Definition: SX1272.cpp:211
+
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:248
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
-
float getRSSI(bool skipReceive=false)
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1272.cpp:339
-
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:400
+
float getRSSI(bool skipReceive=false)
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1272.cpp:347
+
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:408
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:306
+
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:314
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 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:413
-
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:276
+
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1272.cpp:421
+
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:284
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:35
Implements all common low-level SPI/UART methods to control the wireless module. Every module class c...
Definition: Module.h:17
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:372
+
int16_t setCRC(bool enable, bool mode=false)
Enables/disables CRC check of received packets.
Definition: SX1272.cpp:380
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:422
-
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1272.cpp:426
-
int16_t setOutputPower(int8_t power)
Sets transmission output power. Allowed values range from 2 to 17 dBm.
Definition: SX1272.cpp:211
+
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1272.cpp:430
+
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1272.cpp:434
void reset() override
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX1278.cpp:62
-
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1278.cpp:442
+
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX1278.cpp:461
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:446
+
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX1278.cpp:465
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:191
-
int16_t setCRC(bool enable, bool mode=false)
Enables/disables CRC check of received packets.
Definition: SX1278.cpp:392
+
int16_t setCRC(bool enable, bool mode=false)
Enables/disables CRC check of received packets.
Definition: SX1278.cpp:411
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:81
Derived class for SX1278 modules. Also used as base class for SX1276, SX1277, SX1279,...
Definition: SX1278.h:104
-
float getRSSI(bool skipReceive=false)
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1278.cpp:352
+
float getRSSI(bool skipReceive=false)
Gets recorded signal strength indicator of the latest received packet for LoRa modem,...
Definition: SX1278.cpp:371
Base class for SX127x series. All derived classes for SX127x (e.g. SX1278 or SX1272) inherit from thi...
Definition: SX127x.h:547
+
int16_t setOutputPower(int8_t power, bool useRfo=false)
Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA...
Definition: SX1278.cpp:225
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values range from 137.0 MHz to 525.0 MHz.
Definition: SX1278.cpp:70
Implements all common low-level SPI/UART methods to control the wireless module. Every module class c...
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:420
-
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:433
-
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:320
-
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:254
-
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:290
-
int16_t setOutputPower(int8_t power)
Sets transmission output power. Allowed values range from 2 to 17 dBm.
Definition: SX1278.cpp:225
+
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:439
+
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX1278.cpp:452
+
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:339
+
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:273
+
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:309
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa link spreading factor. Allowed values range from 6 to 12. Only available in LoRa mode.
Definition: SX1278.cpp:135
int16_t beginFSK(float freq=434.0, float br=48.0, float freqDev=50.0, float rxBw=125.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: SX1278.cpp:35
diff --git a/class_r_f_m95-members.html b/class_r_f_m95-members.html index 72714858..4f4b67c8 100644 --- a/class_r_f_m95-members.html +++ b/class_r_f_m95-members.html @@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('class_r_f_m95.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_r_f_m95.html b/class_r_f_m95.html index 1a9ffaf2..250b9f68 100644 --- a/class_r_f_m95.html +++ b/class_r_f_m95.html @@ -144,9 +144,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_r_f_m96-members.html b/class_r_f_m96-members.html index 58880c14..b72aea52 100644 --- a/class_r_f_m96-members.html +++ b/class_r_f_m96-members.html @@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('class_r_f_m96.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_r_f_m96.html b/class_r_f_m96.html index 03712c7f..9f1e0fc0 100644 --- a/class_r_f_m96.html +++ b/class_r_f_m96.html @@ -143,9 +143,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_r_f_m97-members.html b/class_r_f_m97-members.html index 84c1fb12..417ecfef 100644 --- a/class_r_f_m97-members.html +++ b/class_r_f_m97-members.html @@ -158,7 +158,7 @@ $(document).ready(function(){initNavTree('class_r_f_m97.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_r_f_m97.html b/class_r_f_m97.html index 43e178e0..93367ef6 100644 --- a/class_r_f_m97.html +++ b/class_r_f_m97.html @@ -151,9 +151,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_s_x1272-members.html b/class_s_x1272-members.html index 047d653a..71794a20 100644 --- a/class_s_x1272-members.html +++ b/class_s_x1272-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1272.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1272 + setOutputPower(int8_t power, bool useRfo=false)SX1272 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1272.html b/class_s_x1272.html index f779215a..e7039641 100644 --- a/class_s_x1272.html +++ b/class_s_x1272.html @@ -133,9 +133,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -1 to 14 dBm (RFO pin) or +2 to +20 dBm (PA_BOOST pin). More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  @@ -919,8 +919,8 @@ void  -

◆ setOutputPower()

+ +

◆ setOutputPower()

-

Sets transmission output power. Allowed values range from 2 to 17 dBm.

+

Sets transmission output power. Allowed values range from -1 to 14 dBm (RFO pin) or +2 to +20 dBm (PA_BOOST pin).

Parameters
+
powerTransmission output power in dBm.
useRfoWhether to use the RFO (true) or the PA_BOOST (false) pin for the RF output. Defaults to PA_BOOST.
diff --git a/class_s_x1272.js b/class_s_x1272.js index 7dbbfba4..ec193b90 100644 --- a/class_s_x1272.js +++ b/class_s_x1272.js @@ -16,6 +16,6 @@ var class_s_x1272 = [ "setDataShapingOOK", "class_s_x1272.html#a3a377445cb4b8fd41781a3210a819a47", null ], [ "setFrequency", "class_s_x1272.html#af409f50e51042cf9357c0a8267f762f8", null ], [ "setGain", "class_s_x1272.html#ae1c57ad5e8496dc28cd3ba9852809852", null ], - [ "setOutputPower", "class_s_x1272.html#ae3596f303714509f552d98321bdfce5c", null ], + [ "setOutputPower", "class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de", null ], [ "setSpreadingFactor", "class_s_x1272.html#a82084ac58502c83d2ada998410307490", null ] ]; \ No newline at end of file diff --git a/class_s_x1273-members.html b/class_s_x1273-members.html index 7cbb5270..48286588 100644 --- a/class_s_x1273-members.html +++ b/class_s_x1273-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1273.html',''); initResizable
setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1272 + setOutputPower(int8_t power, bool useRfo=false)SX1272 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1273.html b/class_s_x1273.html index c46da272..400c3346 100644 --- a/class_s_x1273.html +++ b/class_s_x1273.html @@ -143,9 +143,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -1 to 14 dBm (RFO pin) or +2 to +20 dBm (PA_BOOST pin). More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_s_x1276-members.html b/class_s_x1276-members.html index f2024cb0..394da496 100644 --- a/class_s_x1276-members.html +++ b/class_s_x1276-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1276.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1276.html b/class_s_x1276.html index 81de5091..f92dd0d0 100644 --- a/class_s_x1276.html +++ b/class_s_x1276.html @@ -146,9 +146,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_s_x1277-members.html b/class_s_x1277-members.html index 14e036ca..61811355 100644 --- a/class_s_x1277-members.html +++ b/class_s_x1277-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1277.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1277.html b/class_s_x1277.html index ef4db196..1e0ce7c9 100644 --- a/class_s_x1277.html +++ b/class_s_x1277.html @@ -149,9 +149,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/class_s_x1278-members.html b/class_s_x1278-members.html index 96257faa..e8adb47d 100644 --- a/class_s_x1278-members.html +++ b/class_s_x1278-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1278.html',''); initResizable setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1278.html b/class_s_x1278.html index 8c1f3250..08a147d6 100644 --- a/class_s_x1278.html +++ b/class_s_x1278.html @@ -138,9 +138,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  @@ -924,8 +924,8 @@ void  -

◆ setOutputPower()

+ +

◆ setOutputPower()

-

Sets transmission output power. Allowed values range from 2 to 17 dBm.

+

Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin.

Parameters
+
powerTransmission output power in dBm.
useRfoWhether to use the RFO (true) or the PA_BOOST (false) pin for the RF output. Defaults to PA_BOOST.
diff --git a/class_s_x1278.js b/class_s_x1278.js index d25bfbeb..a81248cd 100644 --- a/class_s_x1278.js +++ b/class_s_x1278.js @@ -16,6 +16,6 @@ var class_s_x1278 = [ "setDataShapingOOK", "class_s_x1278.html#a1ccc4d5062f739d534ab22562c7efca4", null ], [ "setFrequency", "class_s_x1278.html#a4b14d432ef1bd72982f4771cac5b62e4", null ], [ "setGain", "class_s_x1278.html#aa57b713988cfa224a6db2ff325052931", null ], - [ "setOutputPower", "class_s_x1278.html#a8eeac64472fa70ed5e51f35d581f37ea", null ], + [ "setOutputPower", "class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88", null ], [ "setSpreadingFactor", "class_s_x1278.html#af70c22fe38bc3b944070ccbc083fed08", null ] ]; \ No newline at end of file diff --git a/class_s_x1279-members.html b/class_s_x1279-members.html index f237b62c..b724e1a3 100644 --- a/class_s_x1279-members.html +++ b/class_s_x1279-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1279.html',''); initResizable
setOokFixedOrFloorThreshold(uint8_t value)SX127x setOokPeakThresholdDecrement(uint8_t value)SX127x setOokThresholdType(uint8_t type)SX127x - setOutputPower(int8_t power)SX1278 + setOutputPower(int8_t power, bool useRfo=false)SX1278 setPreambleLength(uint16_t preambleLength)SX127x setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX127x setRSSIConfig(uint8_t smoothingSamples, int8_t offset=0)SX127x diff --git a/class_s_x1279.html b/class_s_x1279.html index ac61afec..d91ac7de 100644 --- a/class_s_x1279.html +++ b/class_s_x1279.html @@ -146,9 +146,9 @@ void int16_t setCodingRate (uint8_t cr)  Sets LoRa link coding rate denominator. Allowed values range from 5 to 8. Only available in LoRa mode. More...
  -int16_t setOutputPower (int8_t power) - Sets transmission output power. Allowed values range from 2 to 17 dBm. More...
-  +int16_t setOutputPower (int8_t power, bool useRfo=false) + Sets transmission output power. Allowed values range from -3 to 15 dBm (RFO pin) or +2 to +17 dBm (PA_BOOST pin). High power +20 dBm operation is also supported, on the PA_BOOST pin. More...
+  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 the highest gain. Set to 0 to enable automatic gain control (recommended). Only available in LoRa mode. More...
  diff --git a/functions_func_s.html b/functions_func_s.html index 0416aa08..4da2b64a 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -306,8 +306,8 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza , SX1261 , SX1262 , SX1268 -, SX1272 -, SX1278 +, SX1272 +, SX1278 , SX128x
  • setPanId() diff --git a/functions_s.html b/functions_s.html index cb000878..3d26458a 100644 --- a/functions_s.html +++ b/functions_s.html @@ -312,8 +312,8 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() , SX1261 , SX1262 , SX1268 -, SX1272 -, SX1278 +, SX1272 +, SX1278 , SX128x
  • setPanId() diff --git a/navtreeindex2.js b/navtreeindex2.js index c475c7b5..8bde5943 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -64,6 +64,7 @@ var NAVTREEINDEX2 = "class_s_x1272.html#a3a377445cb4b8fd41781a3210a819a47":[3,0,38,13], "class_s_x1272.html#a4aaf9d61310fa7b4fce413ae53d30ac0":[3,0,38,5], "class_s_x1272.html#a4ee36122f8aca42b27a8412e0c362dd3":[3,0,38,7], +"class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de":[3,0,38,16], "class_s_x1272.html#a82084ac58502c83d2ada998410307490":[3,0,38,17], "class_s_x1272.html#a91aca64124321c07a67f26b3c6934aea":[3,0,38,12], "class_s_x1272.html#a960913438feccad4c1913a9222384a5f":[3,0,38,10], @@ -72,7 +73,6 @@ var NAVTREEINDEX2 = "class_s_x1272.html#abb4bbfe8acc6026c833d267d78417b63":[3,0,38,1], "class_s_x1272.html#abd912314a977f92c464d36d862329ffc":[3,0,38,11], "class_s_x1272.html#ae1c57ad5e8496dc28cd3ba9852809852":[3,0,38,15], -"class_s_x1272.html#ae3596f303714509f552d98321bdfce5c":[3,0,38,16], "class_s_x1272.html#ae3c9704cb58232f696b5f90f69c115f7":[3,0,38,4], "class_s_x1272.html#af409f50e51042cf9357c0a8267f762f8":[3,0,38,14], "class_s_x1273.html":[3,0,39], @@ -100,8 +100,8 @@ var NAVTREEINDEX2 = "class_s_x1278.html#a6d60902ac59b653a9eb83e82a932f7ad":[3,0,42,8], "class_s_x1278.html#a6d6398c4d4fde302d6d4752708bce856":[3,0,42,5], "class_s_x1278.html#a7c7717f09820a8e9a93621b0a00713f1":[3,0,42,4], +"class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88":[3,0,42,16], "class_s_x1278.html#a834f26a0bd3fc8a03fa7e68aa4daf9e1":[3,0,42,10], -"class_s_x1278.html#a8eeac64472fa70ed5e51f35d581f37ea":[3,0,42,16], "class_s_x1278.html#aa57b713988cfa224a6db2ff325052931":[3,0,42,15], "class_s_x1278.html#ac0be7586b8e40355bbd29d78ae9941d1":[3,0,42,11], "class_s_x1278.html#ae02adcde8c2978c0d1b157729dd5df1e":[3,0,42,1], diff --git a/search/all_10.js b/search/all_10.js index 20a8e94b..6a84af2e 100644 --- a/search/all_10.js +++ b/search/all_10.js @@ -46,7 +46,7 @@ var searchData= ['setookfixedorfloorthreshold_280',['setOokFixedOrFloorThreshold',['../class_s_x127x.html#a17ff4e4e0afaebed727648e1400be538',1,'SX127x']]], ['setookpeakthresholddecrement_281',['setOokPeakThresholdDecrement',['../class_s_x127x.html#aac2f43d70b5f94e49e09b4c9f082f46d',1,'SX127x']]], ['setookthresholdtype_282',['setOokThresholdType',['../class_r_f69.html#a219a046c10ddcc0a787ad19346ecad6a',1,'RF69::setOokThresholdType()'],['../class_s_x127x.html#a8b93142202167270db109d18b743c744',1,'SX127x::setOokThresholdType()']]], - ['setoutputpower_283',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#ae3596f303714509f552d98321bdfce5c',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a8eeac64472fa70ed5e51f35d581f37ea',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()']]], + ['setoutputpower_283',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()']]], ['setpanid_284',['setPanId',['../class_x_bee_serial.html#ad429a47dc445765d2dec7ff64b922306',1,'XBeeSerial::setPanId()'],['../class_x_bee.html#a88745c61a1dc2d1139c34d6cc385d35b',1,'XBee::setPanId()']]], ['setpreamblelength_285',['setPreambleLength',['../class_c_c1101.html#acbfa80f431f335d5597500319f0affa8',1,'CC1101::setPreambleLength()'],['../class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9',1,'RF69::setPreambleLength()'],['../class_si443x.html#a4821a6141caf16141074615c976ecd91',1,'Si443x::setPreambleLength()'],['../class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b',1,'SX126x::setPreambleLength()'],['../class_s_x127x.html#ab608c45e0dcc44280df29580dc0a31ed',1,'SX127x::setPreambleLength()'],['../class_s_x128x.html#a1984a405262f155f16a4759c5f6b0133',1,'SX128x::setPreambleLength()']]], ['setpromiscuousmode_286',['setPromiscuousMode',['../class_c_c1101.html#a2911d49d1c293542f7a374c9af60df0e',1,'CC1101::setPromiscuousMode()'],['../class_r_f69.html#a6d90ad1d455de045c53c5758babd876c',1,'RF69::setPromiscuousMode()']]], diff --git a/search/functions_10.js b/search/functions_10.js index dbaa0ea7..f2d27287 100644 --- a/search/functions_10.js +++ b/search/functions_10.js @@ -44,7 +44,7 @@ var searchData= ['setookfixedorfloorthreshold_580',['setOokFixedOrFloorThreshold',['../class_s_x127x.html#a17ff4e4e0afaebed727648e1400be538',1,'SX127x']]], ['setookpeakthresholddecrement_581',['setOokPeakThresholdDecrement',['../class_s_x127x.html#aac2f43d70b5f94e49e09b4c9f082f46d',1,'SX127x']]], ['setookthresholdtype_582',['setOokThresholdType',['../class_r_f69.html#a219a046c10ddcc0a787ad19346ecad6a',1,'RF69::setOokThresholdType()'],['../class_s_x127x.html#a8b93142202167270db109d18b743c744',1,'SX127x::setOokThresholdType()']]], - ['setoutputpower_583',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#ae3596f303714509f552d98321bdfce5c',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a8eeac64472fa70ed5e51f35d581f37ea',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()']]], + ['setoutputpower_583',['setOutputPower',['../class_c_c1101.html#ac3ff8051af5ca50c349e02257f1a3bda',1,'CC1101::setOutputPower()'],['../classn_r_f24.html#a824453d547c0b42ac1988acb42032ca4',1,'nRF24::setOutputPower()'],['../class_r_f69.html#a998ddd21fc152d835c6f1b8d31b02fcc',1,'RF69::setOutputPower()'],['../class_si4430.html#af8d615431bf66e06b45487f3fff73d16',1,'Si4430::setOutputPower()'],['../class_si4431.html#a4da296b35056e076ff69a288bd801d19',1,'Si4431::setOutputPower()'],['../class_si4432.html#a8b26e2c86a9e5e8f6405f0a57b65caca',1,'Si4432::setOutputPower()'],['../class_s_x1261.html#aa541f927995a1756c651b93fd24edc65',1,'SX1261::setOutputPower()'],['../class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc',1,'SX1262::setOutputPower()'],['../class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45',1,'SX1268::setOutputPower()'],['../class_s_x1272.html#a6677a04aa0c2f3bbde2509786b6a66de',1,'SX1272::setOutputPower()'],['../class_s_x1278.html#a7fe05d0751714577f70da4290b7ced88',1,'SX1278::setOutputPower()'],['../class_s_x128x.html#ad6e2b46c317a8d8512cf0380025147a9',1,'SX128x::setOutputPower()']]], ['setpanid_584',['setPanId',['../class_x_bee_serial.html#ad429a47dc445765d2dec7ff64b922306',1,'XBeeSerial::setPanId()'],['../class_x_bee.html#a88745c61a1dc2d1139c34d6cc385d35b',1,'XBee::setPanId()']]], ['setpreamblelength_585',['setPreambleLength',['../class_c_c1101.html#acbfa80f431f335d5597500319f0affa8',1,'CC1101::setPreambleLength()'],['../class_r_f69.html#a7c84b3f881cad6e05b0f4f68c24496d9',1,'RF69::setPreambleLength()'],['../class_si443x.html#a4821a6141caf16141074615c976ecd91',1,'Si443x::setPreambleLength()'],['../class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b',1,'SX126x::setPreambleLength()'],['../class_s_x127x.html#ab608c45e0dcc44280df29580dc0a31ed',1,'SX127x::setPreambleLength()'],['../class_s_x128x.html#a1984a405262f155f16a4759c5f6b0133',1,'SX128x::setPreambleLength()']]], ['setpromiscuousmode_586',['setPromiscuousMode',['../class_c_c1101.html#a2911d49d1c293542f7a374c9af60df0e',1,'CC1101::setPromiscuousMode()'],['../class_r_f69.html#a6d90ad1d455de045c53c5758babd876c',1,'RF69::setPromiscuousMode()']]],