RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
Module Hardware Configuration Variables

A centralized list of all module configurations which are not part of the various Config_t structures. When changing these values it has to be done prior to radio initialization using the begin() method! More...

Variables

float LR11x0::tcxoVoltage = 1.6
 TCXO reference voltage to be set on DIO3. Defaults to 1.6 V. If you are seeing -706/-707 error codes, it likely means you are using non-0 value for module with XTAL. To use XTAL, set this value to 0.
 
uint32_t LR2021::irqDioNum = 5
 Which DIO pin is to be used as the interrupt pin.
 
bool LR2021::fastCad = false
 Determines the type of Lora CAD to perform, either "standard" CAD (same as is implemented LR11x0, SX126x and others), or a "fast" CAD if set to true. If there is no signal to be detected, fast CAD should return faster than standard CAD.
 
float LR2021::tcxoVoltage = 1.6
 TCXO reference voltage to be set on DIO3. Defaults to 1.6 V. If you are seeing -706/-707 error codes, it likely means you are using non-0 value for module with XTAL. To use XTAL, set this value to 0.
 
uint8_t nRF24::addressWidth = RADIOLIB_NRF24_DEFAULT_ADDRWIDTH
 Address width in bytes. Defaults to 5 bytes.
 
bool SX126x::standbyXOSC = false
 Whether to use XOSC (true) or RC (false) oscillator in standby mode. Defaults to false.
 
float SX126x::tcxoVoltage = 1.6
 TCXO reference voltage to be set on DIO3. Defaults to 1.6 V. If you are seeing -706/-707 error codes, it likely means you are using non-0 value for module with XTAL. To use XTAL, either set this value to 0.
 
bool SX126x::useRegulatorLDO = false
 Whether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
 
uint8_t SX127x::gain = 0
 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).
 
bool SX127x::enableOOK = false
 Use OOK modulation instead of FSK.
 
bool PhysicalLayer::resetOnStartup = true
 Whether to reset the module on startup. Setting to false allows to restore radio operation by calling begin after deep sleep mode on some platforms (like ESP32).
 

Detailed Description

A centralized list of all module configurations which are not part of the various Config_t structures. When changing these values it has to be done prior to radio initialization using the begin() method!