diff --git a/_s_t_m32_w_lx_8h_source.html b/_s_t_m32_w_lx_8h_source.html index b2aa742b..76edbaba 100644 --- a/_s_t_m32_w_lx_8h_source.html +++ b/_s_t_m32_w_lx_8h_source.html @@ -172,7 +172,7 @@ $(document).ready(function(){initNavTree('_s_t_m32_w_lx_8h_source.html',''); ini
STM32WLx::beginFSK
int16_t beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: STM32WLx.cpp:31
STM32WLx::END_OF_MODE_TABLE
static constexpr auto END_OF_MODE_TABLE
Definition: STM32WLx.h:66
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:19
-
SX126x::setRfSwitchTable
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1222
+
SX126x::setRfSwitchTable
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1239
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html index 8189462a..97831344 100644 --- a/_s_x126x_8h_source.html +++ b/_s_x126x_8h_source.html @@ -525,157 +525,157 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
701 
709  int16_t setRxBandwidth(float rxBw);
710 
-
718  int16_t setRxBoostedGainMode(bool rxbgm);
-
719 
-
729  int16_t setDataShaping(uint8_t sh) override;
-
730 
-
740  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
-
741 
-
751  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
752 
-
760  int16_t setNodeAddress(uint8_t nodeAddr);
-
761 
-
769  int16_t setBroadcastAddress(uint8_t broadAddr);
-
770 
-
776  int16_t disableAddressFiltering();
-
777 
-
791  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
-
792 
-
802  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
-
803 
-
814  int16_t setTCXO(float voltage, uint32_t delay = 5000);
-
815 
-
821  int16_t setDio2AsRfSwitch(bool enable = true);
-
822 
-
828  float getDataRate() const;
-
829 
-
835  float getRSSI();
-
836 
-
842  float getSNR();
-
843 
-
851  size_t getPacketLength(bool update = true) override;
-
852 
-
860  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
861 
-
869  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
870 
-
878  uint32_t getTimeOnAir(size_t len);
-
879 
-
885  float getRSSIInst();
-
886 
-
894  int16_t implicitHeader(size_t len);
-
895 
-
901  int16_t explicitHeader();
-
902 
-
908  int16_t setRegulatorLDO();
-
909 
-
915  int16_t setRegulatorDCDC();
-
916 
-
924  int16_t setEncoding(uint8_t encoding) override;
-
925 
-
927  void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn);
-
928 
-
930  void setRfSwitchTable(const RADIOLIB_PIN_TYPE (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
-
931 
-
940  int16_t forceLDRO(bool enable);
-
941 
-
948  int16_t autoLDRO();
-
949 
-
955  uint8_t randomByte();
-
956 
-
962  int16_t getLastError();
-
963 
-
964  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
-
970  void setDirectAction(void (*func)(void));
-
971 
-
977  void readBit(RADIOLIB_PIN_TYPE pin);
-
978  #endif
-
979 
-
980 
-
981 #if !defined(RADIOLIB_GODMODE)
-
982  protected:
-
983 #endif
-
984  // SX126x SPI command implementations
-
985  int16_t setTx(uint32_t timeout = 0);
-
986  int16_t setRx(uint32_t timeout);
-
987  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
-
988  int16_t setPaConfig(uint8_t paDutyCycle, uint8_t deviceSel, uint8_t hpMax = RADIOLIB_SX126X_PA_CONFIG_HP_MAX, uint8_t paLut = RADIOLIB_SX126X_PA_CONFIG_PA_LUT);
-
989  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
990  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
991  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
-
992  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
-
993  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
-
994  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
-
995  int16_t setRfFrequency(uint32_t frf);
-
996  int16_t calibrateImage(uint8_t* data);
-
997  uint8_t getPacketType();
-
998  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
-
999  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
-
1000  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
-
1001  int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
-
1002  int16_t setPacketParamsFSK(uint16_t preambleLength, uint8_t crcType, uint8_t syncWordLength, uint8_t addrComp, uint8_t whitening, uint8_t packetType = RADIOLIB_SX126X_GFSK_PACKET_VARIABLE, uint8_t payloadLength = 0xFF, uint8_t preambleDetectorLength = RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16);
-
1003  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
-
1004  int16_t setRegulatorMode(uint8_t mode);
-
1005  uint8_t getStatus();
-
1006  uint32_t getPacketStatus();
-
1007  uint16_t getDeviceErrors();
-
1008  int16_t clearDeviceErrors();
-
1009 
-
1010  int16_t startReceiveCommon(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF);
-
1011  int16_t setFrequencyRaw(float freq);
-
1012  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
1013  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
-
1014 
-
1015  // fixes to errata
-
1016  int16_t fixSensitivity();
-
1017  int16_t fixPaClamping(bool enable = true);
-
1018  int16_t fixImplicitTimeout();
-
1019  int16_t fixInvertedIQ(uint8_t iqConfig);
-
1020 
-
1021 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
-
1022  protected:
-
1023 #endif
-
1024  Module* _mod;
-
1025 
-
1026  // common low-level SPI interface
-
1027  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
-
1028  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
-
1029  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
-
1030  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
-
1031  int16_t SPItransfer(uint8_t* cmd, uint8_t cmdLen, bool write, uint8_t* dataOut, uint8_t* dataIn, uint8_t numBytes, bool waitForBusy, uint32_t timeout = 5000);
-
1032 
-
1033 #if !defined(RADIOLIB_GODMODE)
-
1034  protected:
-
1035 #endif
-
1036 
-
1037  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
-
1038  uint16_t _preambleLength = 0;
-
1039  float _bwKhz = 0;
-
1040  bool _ldroAuto = true;
-
1041 
-
1042  uint32_t _br = 0, _freqDev = 0;
-
1043  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
-
1044  uint16_t _preambleLengthFSK = 0;
-
1045  float _rxBwKhz = 0;
-
1046 
-
1047  float _dataRate = 0;
+
720  int16_t setRxBoostedGainMode(bool rxbgm, bool persist = true);
+
721 
+
731  int16_t setDataShaping(uint8_t sh) override;
+
732 
+
742  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
+
743 
+
753  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
+
754 
+
762  int16_t setNodeAddress(uint8_t nodeAddr);
+
763 
+
771  int16_t setBroadcastAddress(uint8_t broadAddr);
+
772 
+
778  int16_t disableAddressFiltering();
+
779 
+
793  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
+
794 
+
804  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
+
805 
+
816  int16_t setTCXO(float voltage, uint32_t delay = 5000);
+
817 
+
823  int16_t setDio2AsRfSwitch(bool enable = true);
+
824 
+
830  float getDataRate() const;
+
831 
+
837  float getRSSI();
+
838 
+
844  float getSNR();
+
845 
+
853  size_t getPacketLength(bool update = true) override;
+
854 
+
862  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
863 
+
871  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
872 
+
880  uint32_t getTimeOnAir(size_t len);
+
881 
+
887  float getRSSIInst();
+
888 
+
896  int16_t implicitHeader(size_t len);
+
897 
+
903  int16_t explicitHeader();
+
904 
+
910  int16_t setRegulatorLDO();
+
911 
+
917  int16_t setRegulatorDCDC();
+
918 
+
926  int16_t setEncoding(uint8_t encoding) override;
+
927 
+
929  void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn);
+
930 
+
932  void setRfSwitchTable(const RADIOLIB_PIN_TYPE (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
933 
+
942  int16_t forceLDRO(bool enable);
+
943 
+
950  int16_t autoLDRO();
+
951 
+
957  uint8_t randomByte();
+
958 
+
964  int16_t getLastError();
+
965 
+
966  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
972  void setDirectAction(void (*func)(void));
+
973 
+
979  void readBit(RADIOLIB_PIN_TYPE pin);
+
980  #endif
+
981 
+
982 
+
983 #if !defined(RADIOLIB_GODMODE)
+
984  protected:
+
985 #endif
+
986  // SX126x SPI command implementations
+
987  int16_t setTx(uint32_t timeout = 0);
+
988  int16_t setRx(uint32_t timeout);
+
989  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+
990  int16_t setPaConfig(uint8_t paDutyCycle, uint8_t deviceSel, uint8_t hpMax = RADIOLIB_SX126X_PA_CONFIG_HP_MAX, uint8_t paLut = RADIOLIB_SX126X_PA_CONFIG_PA_LUT);
+
991  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
992  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
993  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+
994  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
+
995  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
+
996  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
+
997  int16_t setRfFrequency(uint32_t frf);
+
998  int16_t calibrateImage(uint8_t* data);
+
999  uint8_t getPacketType();
+
1000  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
+
1001  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+
1002  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
+
1003  int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
+
1004  int16_t setPacketParamsFSK(uint16_t preambleLength, uint8_t crcType, uint8_t syncWordLength, uint8_t addrComp, uint8_t whitening, uint8_t packetType = RADIOLIB_SX126X_GFSK_PACKET_VARIABLE, uint8_t payloadLength = 0xFF, uint8_t preambleDetectorLength = RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16);
+
1005  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
+
1006  int16_t setRegulatorMode(uint8_t mode);
+
1007  uint8_t getStatus();
+
1008  uint32_t getPacketStatus();
+
1009  uint16_t getDeviceErrors();
+
1010  int16_t clearDeviceErrors();
+
1011 
+
1012  int16_t startReceiveCommon(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF);
+
1013  int16_t setFrequencyRaw(float freq);
+
1014  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
1015  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
+
1016 
+
1017  // fixes to errata
+
1018  int16_t fixSensitivity();
+
1019  int16_t fixPaClamping(bool enable = true);
+
1020  int16_t fixImplicitTimeout();
+
1021  int16_t fixInvertedIQ(uint8_t iqConfig);
+
1022 
+
1023 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
1024  protected:
+
1025 #endif
+
1026  Module* _mod;
+
1027 
+
1028  // common low-level SPI interface
+
1029  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
+
1030  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
+
1031  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
+
1032  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true, bool verify = true);
+
1033  int16_t SPItransfer(uint8_t* cmd, uint8_t cmdLen, bool write, uint8_t* dataOut, uint8_t* dataIn, uint8_t numBytes, bool waitForBusy, uint32_t timeout = 5000);
+
1034 
+
1035 #if !defined(RADIOLIB_GODMODE)
+
1036  protected:
+
1037 #endif
+
1038 
+
1039  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
+
1040  uint16_t _preambleLength = 0;
+
1041  float _bwKhz = 0;
+
1042  bool _ldroAuto = true;
+
1043 
+
1044  uint32_t _br = 0, _freqDev = 0;
+
1045  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
+
1046  uint16_t _preambleLengthFSK = 0;
+
1047  float _rxBwKhz = 0;
1048 
-
1049  uint32_t _tcxoDelay = 0;
+
1049  float _dataRate = 0;
1050 
-
1051  size_t _implicitLen = 0;
+
1051  uint32_t _tcxoDelay = 0;
1052 
-
1053  int16_t _lastError = RADIOLIB_ERR_NONE;
+
1053  size_t _implicitLen = 0;
1054 
-
1055  // Allow subclasses to define different TX modes
-
1056  uint8_t _tx_mode = Module::MODE_TX;
-
1057 
-
1058  int16_t config(uint8_t modem);
-
1059  int16_t checkCommandResult();
-
1060 };
-
1061 
-
1062 #endif
+
1055  int16_t _lastError = RADIOLIB_ERR_NONE;
+
1056 
+
1057  // Allow subclasses to define different TX modes
+
1058  uint8_t _tx_mode = Module::MODE_TX;
+
1059 
+
1060  int16_t config(uint8_t modem);
+
1061  int16_t checkCommandResult();
+
1062 };
1063 
1064 #endif
+
1065 
+
1066 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:16
Module::RFSWITCH_MAX_PINS
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code.
Definition: Module.h:27
Module::MODE_TX
@ MODE_TX
Definition: Module.h:56
@@ -686,68 +686,68 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
PhysicalLayer::receive
int16_t receive(String &str, size_t len=0)
Arduino String receive method.
Definition: PhysicalLayer.cpp:60
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:364
SX126x::setDio1Action
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:366
-
SX126x::getRSSI
float getRSSI()
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet.
Definition: SX126x.cpp:1118
+
SX126x::getRSSI
float getRSSI()
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet.
Definition: SX126x.cpp:1135
SX126x::startChannelScan
int16_t startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)
Interrupt-driven channel activity detection method. DIO0 will be activated when LoRa preamble is dete...
Definition: SX126x.cpp:592
-
SX126x::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: SX126x.cpp:893
-
SX126x::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1206
-
SX126x::setRfSwitchPins
void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1218
-
SX126x::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in FSK mode only. Serves only as alias for PhysicalLayer compat...
Definition: SX126x.cpp:1214
+
SX126x::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: SX126x.cpp:910
+
SX126x::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1223
+
SX126x::setRfSwitchPins
void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1235
+
SX126x::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in FSK mode only. Serves only as alias for PhysicalLayer compat...
Definition: SX126x.cpp:1231
SX126x::beginFSK
int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: SX126x.cpp:78
SX126x::setBandwidth
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 7.8, 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125....
Definition: SX126x.cpp:639
-
SX126x::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1202
-
SX126x::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1226
-
SX126x::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:973
-
SX126x::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1286
+
SX126x::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1219
+
SX126x::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1243
+
SX126x::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:990
+
SX126x::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1303
SX126x::setRxBandwidth
int16_t setRxBandwidth(float rxBw)
Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: SX126x.cpp:810
-
SX126x::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1210
-
SX126x::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x0100)
Sets FSK whitening parameters.
Definition: SX126x.cpp:1077
+
SX126x::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1227
+
SX126x::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x0100)
Sets FSK whitening parameters.
Definition: SX126x.cpp:1094
SX126x::clearDio1Action
void clearDio1Action()
Clears interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:370
SX126x::startReceiveDutyCycleAuto
int16_t startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8)
Calls startReceiveDutyCycle with rxPeriod and sleepPeriod set so the unit shouldn't miss any messages...
Definition: SX126x.cpp:483
SX126x::scanChannel
int16_t scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)
Performs scan for LoRa transmission in the current channel. Detects both preamble and payload.
Definition: SX126x.cpp:324
SX126x::standby
int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: SX126x.cpp:354
SX126x::setFrequencyDeviation
int16_t setFrequencyDeviation(float freqDev) override
Sets FSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: SX126x.cpp:762
SX126x::setBitRate
int16_t setBitRate(float br)
Sets FSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: SX126x.cpp:789
-
SX126x::getTimeOnAir
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1156
-
SX126x::randomByte
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1247
+
SX126x::getTimeOnAir
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1173
+
SX126x::randomByte
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1264
SX126x::receiveDirect
int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: SX126x.cpp:316
SX126x::finishTransmit
int16_t finishTransmit() override
Clean up after transmission is done.
Definition: SX126x.cpp:435
SX126x::setCurrentLimit
int16_t setCurrentLimit(float currentLimit)
Sets current protection limit. Can be set in 2.5 mA steps.
Definition: SX126x.cpp:727
+
SX126x::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool rxbgm, bool persist=true)
Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9....
Definition: SX126x.cpp:873
SX126x::transmitDirect
int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: SX126x.cpp:300
-
SX126x::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1152
+
SX126x::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1169
SX126x::begin
int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)
Initialization method for LoRa modem.
Definition: SX126x.cpp:12
-
SX126x::setCRC
int16_t setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)
Sets CRC configuration.
Definition: SX126x.cpp:1018
-
SX126x::getIrqStatus
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1435
+
SX126x::setCRC
int16_t setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)
Sets CRC configuration.
Definition: SX126x.cpp:1035
+
SX126x::getIrqStatus
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1452
SX126x::reset
int16_t reset(bool verify=true)
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX126x.cpp:159
SX126x::setSyncWord
int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)
Sets LoRa sync word.
Definition: SX126x.cpp:716
SX126x::getCurrentLimit
float getCurrentLimit()
Reads current protection limit.
Definition: SX126x.cpp:740
SX126x::SX126x
SX126x(Module *mod)
Default constructor.
Definition: SX126x.cpp:4
SX126x::setPreambleLength
int16_t setPreambleLength(uint16_t preambleLength)
Sets preamble length for LoRa or FSK modem. Allowed values range from 1 to 65535.
Definition: SX126x.cpp:749
SX126x::transmit
int16_t transmit(__FlashStringHelper *fstr, uint8_t addr=0)
Arduino Flash String transmit method.
Definition: PhysicalLayer.cpp:12
-
SX126x::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1238
-
SX126x::setDirectAction
void setDirectAction(void(*func)(void))
Dummy method, to ensure PhysicalLayer compatibility.
Definition: SX126x.cpp:1273
-
SX126x::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1148
-
SX126x::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:990
+
SX126x::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1255
+
SX126x::setDirectAction
void setDirectAction(void(*func)(void))
Dummy method, to ensure PhysicalLayer compatibility.
Definition: SX126x.cpp:1290
+
SX126x::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1165
+
SX126x::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:1007
SX126x::getChannelScanResult
int16_t getChannelScanResult()
Read the channel scan result.
Definition: SX126x.cpp:618
-
SX126x::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1141
-
SX126x::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets FSK sync word in the form of array of up to 8 bytes.
Definition: SX126x.cpp:946
-
SX126x::getLastError
int16_t getLastError()
Get the last recorded transaction error.
Definition: SX126x.cpp:1268
-
SX126x::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1114
-
SX126x::setRfSwitchTable
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1222
+
SX126x::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1158
+
SX126x::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets FSK sync word in the form of array of up to 8 bytes.
Definition: SX126x.cpp:963
+
SX126x::getLastError
int16_t getLastError()
Get the last recorded transaction error.
Definition: SX126x.cpp:1285
+
SX126x::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1131
+
SX126x::setRfSwitchTable
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1239
SX126x::startReceiveDutyCycle
int16_t startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod)
Interrupt-driven receive method where the device mostly sleeps and periodically wakes to listen....
Definition: SX126x.cpp:456
-
SX126x::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1198
-
SX126x::getRSSIInst
float getRSSIInst()
Get instantaneous RSSI value during recption of the packet. Should switch to FSK receive mode for LBT...
Definition: SX126x.cpp:1191
-
SX126x::getSNR
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1125
-
SX126x::setDio2AsRfSwitch
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1334
+
SX126x::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1215
+
SX126x::getRSSIInst
float getRSSIInst()
Get instantaneous RSSI value during recption of the packet. Should switch to FSK receive mode for LBT...
Definition: SX126x.cpp:1208
+
SX126x::getSNR
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1142
+
SX126x::setDio2AsRfSwitch
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1351
SX126x::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: SX126x.cpp:690
SX126x::readData
int16_t readData(String &str, size_t len=0)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:140
SX126x::startReceive
int16_t startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF)
Interrupt-driven receive method. DIO1 will be activated when full packet is received.
Definition: SX126x.cpp:443
SX126x::startTransmit
int16_t startTransmit(String &str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:121
-
SX126x::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool rxbgm)
Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9....
Definition: SX126x.cpp:873
SX126x::receive
int16_t receive(String &str, size_t len=0)
Arduino String receive method.
Definition: PhysicalLayer.cpp:60
SX126x::sleep
int16_t sleep(bool retainConfig=true)
Sets the module to sleep mode.
Definition: SX126x.cpp:338
-
SX126x::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: SX126x.cpp:1007
+
SX126x::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: SX126x.cpp:1024
SX126x::setCodingRate
int16_t setCodingRate(uint8_t cr)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: SX126x.cpp:703
-
SX126x::readBit
void readBit(RADIOLIB_PIN_TYPE pin)
Dummy method, to ensure PhysicalLayer compatibility.
Definition: SX126x.cpp:1279
+
SX126x::readBit
void readBit(RADIOLIB_PIN_TYPE pin)
Dummy method, to ensure PhysicalLayer compatibility.
Definition: SX126x.cpp:1296
RADIOLIB_ERR_NONE
#define RADIOLIB_ERR_NONE
No error, method executed successfully.
Definition: TypeDef.h:102
Module::RfSwitchMode_t
Definition: Module.h:34
diff --git a/class_l_l_c_c68-members.html b/class_l_l_c_c68-members.html index a16fe8c8..8e8abc22 100644 --- a/class_l_l_c_c68-members.html +++ b/class_l_l_c_c68-members.html @@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('class_l_l_c_c68.html',''); initResizab setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)LLCC68 setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_l_l_c_c68.html b/class_l_l_c_c68.html index d3de979a..a1d02ad0 100644 --- a/class_l_l_c_c68.html +++ b/class_l_l_c_c68.html @@ -243,9 +243,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/class_s_t_m32_w_lx-members.html b/class_s_t_m32_w_lx-members.html index 23d114e2..4e88639b 100644 --- a/class_s_t_m32_w_lx-members.html +++ b/class_s_t_m32_w_lx-members.html @@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('class_s_t_m32_w_lx.html',''); initResi setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])STM32WLx SX1262::setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)SX126x setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_s_t_m32_w_lx.html b/class_s_t_m32_w_lx.html index 7e30309f..fcfaaed4 100644 --- a/class_s_t_m32_w_lx.html +++ b/class_s_t_m32_w_lx.html @@ -266,9 +266,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/class_s_x1261-members.html b/class_s_x1261-members.html index dfbee846..b67ed5b3 100644 --- a/class_s_x1261-members.html +++ b/class_s_x1261-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1261.html',''); initResizable setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)SX126x setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_s_x1261.html b/class_s_x1261.html index 60954f3c..41d74df6 100644 --- a/class_s_x1261.html +++ b/class_s_x1261.html @@ -234,9 +234,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/class_s_x1262-members.html b/class_s_x1262-members.html index 38e46b79..f5300c13 100644 --- a/class_s_x1262-members.html +++ b/class_s_x1262-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1262.html',''); initResizable setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)SX126x setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_s_x1262.html b/class_s_x1262.html index 4edad4bf..7cbf8d11 100644 --- a/class_s_x1262.html +++ b/class_s_x1262.html @@ -232,9 +232,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/class_s_x1268-members.html b/class_s_x1268-members.html index ef15f169..f23a9325 100644 --- a/class_s_x1268-members.html +++ b/class_s_x1268-members.html @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_s_x1268.html',''); initResizable setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)SX126x setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_s_x1268.html b/class_s_x1268.html index 806c499d..aaec39bf 100644 --- a/class_s_x1268.html +++ b/class_s_x1268.html @@ -229,9 +229,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  diff --git a/class_s_x126x-members.html b/class_s_x126x-members.html index dce62270..9e407da1 100644 --- a/class_s_x126x-members.html +++ b/class_s_x126x-members.html @@ -152,7 +152,7 @@ $(document).ready(function(){initNavTree('class_s_x126x.html',''); initResizable setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x setSpreadingFactor(uint8_t sf)SX126x setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x diff --git a/class_s_x126x.html b/class_s_x126x.html index 36923b59..b440420e 100644 --- a/class_s_x126x.html +++ b/class_s_x126x.html @@ -214,9 +214,9 @@ void int16_t setRxBandwidth (float rxBw)  Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz. More...
  -int16_t setRxBoostedGainMode (bool rxbgm) - Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
-  +int16_t setRxBoostedGainMode (bool rxbgm, bool persist=true) + Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1) More...
+  int16_t setDataShaping (uint8_t sh) override  Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPING_0_3, RADIOLIB_SHAPING_0_5, RADIOLIB_SHAPING_0_7 or RADIOLIB_SHAPING_1_0. Set to RADIOLIB_SHAPING_NONE to disable data shaping. More...
  @@ -1926,8 +1926,8 @@ void  -

◆ setRxBoostedGainMode()

+ +

◆ setRxBoostedGainMode()

@@ -1936,8 +1936,18 @@ void int16_t SX126x::setRxBoostedGainMode ( bool  - rxbgm) + rxbgm, + + + + bool  + persist = true  + + + + ) +
@@ -1946,6 +1956,7 @@ void 
Parameters
+
rxbgmTrue for Rx Boosted Gain, false for Rx Power Saving Gain
persistTrue to persist Rx gain setting when waking up from warm-start mode (e.g. when using Rx duty cycle mode)
diff --git a/class_s_x126x.js b/class_s_x126x.js index 3866e532..f77fc533 100644 --- a/class_s_x126x.js +++ b/class_s_x126x.js @@ -52,7 +52,7 @@ var class_s_x126x = [ "setRfSwitchPins", "class_s_x126x.html#a288257242e483cb3eb6944333179dd26", null ], [ "setRfSwitchTable", "class_s_x126x.html#ad92085fdf4508c0849de0aec8dee2494", null ], [ "setRxBandwidth", "class_s_x126x.html#a59d443c02d4620cda32c63a00c6bcc22", null ], - [ "setRxBoostedGainMode", "class_s_x126x.html#af1277855a742e085fb849a6da8943d77", null ], + [ "setRxBoostedGainMode", "class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8", null ], [ "setSpreadingFactor", "class_s_x126x.html#ae5993359ace652fbdc862eb23fdd263d", null ], [ "setSyncBits", "class_s_x126x.html#ac594fbb30c5010658c970a64654c7162", null ], [ "setSyncWord", "class_s_x126x.html#a38e6d7831f35893a5b8328c10a2901bf", null ], diff --git a/functions_func_s.html b/functions_func_s.html index 2de42a46..a52a724d 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -412,7 +412,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza ,
SX127x
  • setRxBoostedGainMode() -: SX126x +: SX126x
  • setSendSequence() : AX25Frame diff --git a/functions_s.html b/functions_s.html index 97695491..e53f1b38 100644 --- a/functions_s.html +++ b/functions_s.html @@ -418,7 +418,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() , SX127x
  • setRxBoostedGainMode() -: SX126x +: SX126x
  • setSendSequence() : AX25Frame diff --git a/navtreeindex2.js b/navtreeindex2.js index f80dbb2a..99438f28 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -52,6 +52,7 @@ var NAVTREEINDEX2 = "class_s_x126x.html#a8a18aee2bf05793aa29b5cf6b47bb435":[3,0,35,30], "class_s_x126x.html#a8e22d67b64953c8b4da779d87d563f3e":[3,0,35,7], "class_s_x126x.html#a8f971dca834be7e0470a9a9f0c01854e":[3,0,35,38], +"class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8":[3,0,35,52], "class_s_x126x.html#a921aa8afb8d33b2660731c1f8d67664b":[3,0,35,75], "class_s_x126x.html#a923654706eff5118ef6e84214e837f27":[3,0,35,66], "class_s_x126x.html#a92c157efe751b4ae73d22ff44115285d":[3,0,35,76], @@ -91,7 +92,6 @@ var NAVTREEINDEX2 = "class_s_x126x.html#aeb62c5a521aafc1e0525c58e9364482b":[3,0,35,72], "class_s_x126x.html#aeb92dc9d2e2a2b3a3a5ff2856528d497":[3,0,35,63], "class_s_x126x.html#af068e6e862c99e39d0261a7971dd56db":[3,0,35,67], -"class_s_x126x.html#af1277855a742e085fb849a6da8943d77":[3,0,35,52], "class_s_x126x.html#afb1b090348d9091bfa3a0b5ba3d85b36":[3,0,35,27], "class_s_x126x.html#afb5509f0705cdd971065251ed6b2fb4e":[3,0,35,59], "class_s_x126x.html#afc3a7a42c401b6c44e00cb6c5b9696f2":[3,0,35,5], diff --git a/navtreeindex3.js b/navtreeindex3.js index cc86a1c0..96c1d3a0 100644 --- a/navtreeindex3.js +++ b/navtreeindex3.js @@ -198,8 +198,8 @@ var NAVTREEINDEX3 = "dir_ed12d23d857ca7061030f8751e72e77c.html":[4,0,0,0,10], "dir_f980efad9544c0545d0fa50a84ff12f2.html":[4,0,0,0,9], "files.html":[4,0], -"functions.html":[3,3,0], "functions.html":[3,3,0,0], +"functions.html":[3,3,0], "functions_b.html":[3,3,0,1], "functions_c.html":[3,3,0,2], "functions_d.html":[3,3,0,3], diff --git a/search/all_f.js b/search/all_f.js index b52743ed..a324d97d 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -68,7 +68,7 @@ var searchData= ['setrssiconfig_293',['setRSSIConfig',['../class_s_x127x.html#ad3955f85f456edae772a51025a19029b',1,'SX127x']]], ['setrssithreshold_294',['setRSSIThreshold',['../class_r_f69.html#afcb723ae58d6519e5b95d017d2beb78a',1,'RF69::setRSSIThreshold()'],['../class_s_x127x.html#a5094d0f471aaa428167816d1ac30bb76',1,'SX127x::setRSSIThreshold()']]], ['setrxbandwidth_295',['setRxBandwidth',['../class_c_c1101.html#a381d0059d7a0ccd8a2f54d7d3376f9b6',1,'CC1101::setRxBandwidth()'],['../class_r_f69.html#a735d8f22095a7e69471d73ca021b9d1a',1,'RF69::setRxBandwidth()'],['../class_si443x.html#a51e6b7c677e82042224798114f311175',1,'Si443x::setRxBandwidth()'],['../class_s_x126x.html#a59d443c02d4620cda32c63a00c6bcc22',1,'SX126x::setRxBandwidth()'],['../class_s_x127x.html#a2cc53b9f9d90647c5709cb974779cf53',1,'SX127x::setRxBandwidth()']]], - ['setrxboostedgainmode_296',['setRxBoostedGainMode',['../class_s_x126x.html#af1277855a742e085fb849a6da8943d77',1,'SX126x']]], + ['setrxboostedgainmode_296',['setRxBoostedGainMode',['../class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8',1,'SX126x']]], ['setsendsequence_297',['setSendSequence',['../class_a_x25_frame.html#a026e9b96fa69018590fcf6842df8be70',1,'AX25Frame']]], ['setspreadingfactor_298',['setSpreadingFactor',['../class_l_l_c_c68.html#ad59d1a1cb32c7c89c13ebf46051d26e4',1,'LLCC68::setSpreadingFactor()'],['../class_r_f_m97.html#ae8d0ead424c0c9950ad9d5b7132bdf67',1,'RFM97::setSpreadingFactor()'],['../class_s_x126x.html#ae5993359ace652fbdc862eb23fdd263d',1,'SX126x::setSpreadingFactor()'],['../class_s_x1273.html#a1dbc5a0847c2b62d2ec5fc439ddfec3f',1,'SX1273::setSpreadingFactor()'],['../class_s_x1277.html#a1df27f0b0b6e5b308879875e4d8306cf',1,'SX1277::setSpreadingFactor()'],['../class_s_x1278.html#af70c22fe38bc3b944070ccbc083fed08',1,'SX1278::setSpreadingFactor()'],['../class_s_x128x.html#ae435f57132f76f4283abb870176acf54',1,'SX128x::setSpreadingFactor()'],['../class_s_x1272.html#a82084ac58502c83d2ada998410307490',1,'SX1272::setSpreadingFactor()']]], ['setsyncbits_299',['setSyncBits',['../class_s_x126x.html#ac594fbb30c5010658c970a64654c7162',1,'SX126x']]], diff --git a/search/functions_f.js b/search/functions_f.js index dfe6a38c..542ee875 100644 --- a/search/functions_f.js +++ b/search/functions_f.js @@ -66,7 +66,7 @@ var searchData= ['setrssiconfig_603',['setRSSIConfig',['../class_s_x127x.html#ad3955f85f456edae772a51025a19029b',1,'SX127x']]], ['setrssithreshold_604',['setRSSIThreshold',['../class_r_f69.html#afcb723ae58d6519e5b95d017d2beb78a',1,'RF69::setRSSIThreshold()'],['../class_s_x127x.html#a5094d0f471aaa428167816d1ac30bb76',1,'SX127x::setRSSIThreshold(float dbm)']]], ['setrxbandwidth_605',['setRxBandwidth',['../class_s_x127x.html#a2cc53b9f9d90647c5709cb974779cf53',1,'SX127x::setRxBandwidth()'],['../class_s_x126x.html#a59d443c02d4620cda32c63a00c6bcc22',1,'SX126x::setRxBandwidth()'],['../class_r_f69.html#a735d8f22095a7e69471d73ca021b9d1a',1,'RF69::setRxBandwidth()'],['../class_c_c1101.html#a381d0059d7a0ccd8a2f54d7d3376f9b6',1,'CC1101::setRxBandwidth()'],['../class_si443x.html#a51e6b7c677e82042224798114f311175',1,'Si443x::setRxBandwidth()']]], - ['setrxboostedgainmode_606',['setRxBoostedGainMode',['../class_s_x126x.html#af1277855a742e085fb849a6da8943d77',1,'SX126x']]], + ['setrxboostedgainmode_606',['setRxBoostedGainMode',['../class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8',1,'SX126x']]], ['setsendsequence_607',['setSendSequence',['../class_a_x25_frame.html#a026e9b96fa69018590fcf6842df8be70',1,'AX25Frame']]], ['setspreadingfactor_608',['setSpreadingFactor',['../class_s_x1273.html#a1dbc5a0847c2b62d2ec5fc439ddfec3f',1,'SX1273::setSpreadingFactor()'],['../class_s_x128x.html#ae435f57132f76f4283abb870176acf54',1,'SX128x::setSpreadingFactor()'],['../class_s_x1278.html#af70c22fe38bc3b944070ccbc083fed08',1,'SX1278::setSpreadingFactor()'],['../class_s_x1277.html#a1df27f0b0b6e5b308879875e4d8306cf',1,'SX1277::setSpreadingFactor()'],['../class_s_x1272.html#a82084ac58502c83d2ada998410307490',1,'SX1272::setSpreadingFactor()'],['../class_s_x126x.html#ae5993359ace652fbdc862eb23fdd263d',1,'SX126x::setSpreadingFactor()'],['../class_r_f_m97.html#ae8d0ead424c0c9950ad9d5b7132bdf67',1,'RFM97::setSpreadingFactor()'],['../class_l_l_c_c68.html#ad59d1a1cb32c7c89c13ebf46051d26e4',1,'LLCC68::setSpreadingFactor()']]], ['setsyncbits_609',['setSyncBits',['../class_s_x126x.html#ac594fbb30c5010658c970a64654c7162',1,'SX126x']]],