diff --git a/_l_r1110_8h_source.html b/_l_r1110_8h_source.html
index 6b9b91f6..73df078d 100644
--- a/_l_r1110_8h_source.html
+++ b/_l_r1110_8h_source.html
@@ -113,23 +113,33 @@ $(document).ready(function(){initNavTree('_l_r1110_8h_source.html',''); initResi
88 int16_t
setFrequency(
float freq,
bool calibrate,
float band = 4);
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 123 int16_t
checkOutputPower(int8_t power, int8_t* clipped,
bool forceHighPower);
+
+ 125 #if !RADIOLIB_GODMODE
+
+
+
+
+
+
+
+
Derived class for LR1110 modules.
Definition: LR1110.h:15
LR1110(Module *mod)
Default constructor.
Definition: LR1110.cpp:4
+int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -9 to 22 dBm (high-power PA) or -17 to 14 dBm (lo...
Definition: LR1110.cpp:64
int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6)
Initialization method for LoRa modem.
Definition: LR1110.cpp:8
-int16_t beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)
Initialization method for LR-FHSS modem.
Definition: LR1110.cpp:28
-int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. Will also perform calibr...
Definition: LR1110.cpp:38
-int16_t beginGFSK(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)
Initialization method for FSK modem.
Definition: LR1110.cpp:18
-Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:708
+int16_t beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)
Initialization method for LR-FHSS modem.
Definition: LR1110.cpp:34
+int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. Will also perform calibr...
Definition: LR1110.cpp:47
+int16_t checkOutputPower(int8_t power, int8_t *clipped) override
Check if output power is configurable. This method is needed for compatibility with PhysicalLayer::ch...
Definition: LR1110.cpp:87
+int16_t beginGFSK(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)
Initialization method for FSK modem.
Definition: LR1110.cpp:21
+Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:712
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
diff --git a/_l_r1120_8h_source.html b/_l_r1120_8h_source.html
index 75b34597..e4ea2a30 100644
--- a/_l_r1120_8h_source.html
+++ b/_l_r1120_8h_source.html
@@ -110,26 +110,39 @@ $(document).ready(function(){initNavTree('_l_r1120_8h_source.html',''); initResi
-
-
- 89 int16_t
setFrequency(
float freq,
bool calibrate,
float band = 4);
-
-
-
-
+
+
+ 93 int16_t
setFrequency(
float freq,
bool calibrate,
float band = 4);
-
-
-
-
-
+
+
+
+
+
+
+ 132 int16_t
checkOutputPower(int8_t power, int8_t* clipped,
bool forceHighPower);
+
+ 134 #if !RADIOLIB_GODMODE
+
+
+
+
+ 139 bool highFreq =
false;
+
+
+
+
+
+
Derived class for LR1120 modules.
Definition: LR1120.h:15
int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6)
Initialization method for LoRa modem.
Definition: LR1120.cpp:8
-int16_t beginGFSK(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)
Initialization method for FSK modem.
Definition: LR1120.cpp:18
-int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz, 1900 - 2200 MHz and 2400...
Definition: LR1120.cpp:38
-int16_t beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)
Initialization method for LR-FHSS modem.
Definition: LR1120.cpp:28
+int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -9 to 22 dBm (high-power PA) or -17 to 14 dBm (lo...
Definition: LR1120.cpp:72
+int16_t beginGFSK(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)
Initialization method for FSK modem.
Definition: LR1120.cpp:21
+int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz, 1900 - 2200 MHz and 2400...
Definition: LR1120.cpp:47
+int16_t beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)
Initialization method for LR-FHSS modem.
Definition: LR1120.cpp:34
+int16_t checkOutputPower(int8_t power, int8_t *clipped) override
Check if output power is configurable. This method is needed for compatibility with PhysicalLayer::ch...
Definition: LR1120.cpp:102
LR1120(Module *mod)
Default constructor.
Definition: LR1120.cpp:4
-Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:708
+Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:712
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
diff --git a/_l_r11x0_8h_source.html b/_l_r11x0_8h_source.html
index 73a2e5ad..f3a7d597 100644
--- a/_l_r11x0_8h_source.html
+++ b/_l_r11x0_8h_source.html
@@ -734,497 +734,499 @@ $(document).ready(function(){initNavTree('_l_r11x0_8h_source.html',''); initResi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 761 int16_t
begin(
float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, int8_t power, uint16_t preambleLength,
float tcxoVoltage);
-
- 773 int16_t
beginGFSK(
float br,
float freqDev,
float rxBw, int8_t power, uint16_t preambleLength,
float tcxoVoltage);
-
- 783 int16_t
beginLRFHSS(uint8_t bw, uint8_t cr, int8_t power,
float tcxoVoltage);
-
-
-
- 799 int16_t
transmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
-
- 808 int16_t
receive(uint8_t* data,
size_t len)
override;
-
-
-
-
-
-
-
- 837 int16_t
scanChannel(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
-
-
-
- 852 int16_t
standby(uint8_t mode,
bool wakeup =
true);
-
- 859 int16_t
sleep()
override;
-
- 868 int16_t
sleep(
bool retainConfig, uint32_t sleepTime);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 913 int16_t
startTransmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
-
-
-
-
-
- 941 int16_t
startReceive(uint32_t timeout, uint32_t irqFlags = RADIOLIB_LR11X0_IRQ_RX_DONE, uint32_t irqMask = 0,
size_t len = 0);
-
-
-
- 957 int16_t
readData(uint8_t* data,
size_t len)
override;
-
-
-
- 974 int16_t
startChannelScan(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 764 int16_t
begin(
float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength,
float tcxoVoltage);
+
+ 775 int16_t
beginGFSK(
float br,
float freqDev,
float rxBw, uint16_t preambleLength,
float tcxoVoltage);
+
+ 784 int16_t
beginLRFHSS(uint8_t bw, uint8_t cr,
float tcxoVoltage);
+
+
+
+ 800 int16_t
transmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
+
+ 809 int16_t
receive(uint8_t* data,
size_t len)
override;
+
+
+
+
+
+
+
+ 838 int16_t
scanChannel(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+
+
+
+ 853 int16_t
standby(uint8_t mode,
bool wakeup =
true);
+
+ 860 int16_t
sleep()
override;
+
+ 869 int16_t
sleep(
bool retainConfig, uint32_t sleepTime);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 914 int16_t
startTransmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
+
+
+
+
+
+ 942 int16_t
startReceive(uint32_t timeout, uint32_t irqFlags = RADIOLIB_LR11X0_IRQ_RX_DONE, uint32_t irqMask = 0,
size_t len = 0);
+
+
+
+ 958 int16_t
readData(uint8_t* data,
size_t len)
override;
+
+
+
+ 975 int16_t
startChannelScan(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+
+
+
+
+
+
+
+
-
+ 1007 int16_t
setCodingRate(uint8_t cr,
bool longInterleave =
false);
- 1017 int16_t
checkOutputPower(int8_t power, int8_t* clipped,
bool forceHighPower);
-
-
-
-
-
- 1041 int16_t
setCodingRate(uint8_t cr,
bool longInterleave =
false);
-
-
-
-
-
-
-
-
-
- 1078 int16_t
setSyncWord(uint8_t* syncWord,
size_t len)
override;
-
- 1087 int16_t
setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1147 int16_t
setWhitening(
bool enabled, uint16_t initial = 0x01FF);
-
-
+
+
+
+
+
+
+
+
+ 1044 int16_t
setSyncWord(uint8_t* syncWord,
size_t len)
override;
+
+ 1053 int16_t
setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1113 int16_t
setWhitening(
bool enabled, uint16_t initial = 0x01FF);
+
+
+
+
+
+
+
+ 1144 int16_t
setTCXO(
float voltage, uint32_t delay = 5000);
+
+ 1154 int16_t
setCRC(uint8_t len, uint32_t initial = 0x00001D0FUL, uint32_t polynomial = 0x00001021UL,
bool inverted =
true);
-
+ 1161 int16_t
invertIQ(
bool enable)
override;
-
-
- 1178 int16_t
setTCXO(
float voltage, uint32_t delay = 5000);
-
- 1188 int16_t
setCRC(uint8_t len, uint32_t initial = 0x00001D0FUL, uint32_t polynomial = 0x00001021UL,
bool inverted =
true);
-
- 1195 int16_t
invertIQ(
bool enable)
override;
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- 1312 int16_t
setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount = 3, uint16_t hopSeed = 0x13A);
-
- 1328 int16_t
startWifiScan(
char wifiType, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
-
-
-
-
-
-
-
-
-
- 1375 int16_t
wifiScan(uint8_t wifiType, uint8_t* count, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
-
-
-
- 1394 int16_t
updateFirmware(
const uint32_t* image,
size_t size,
bool nonvolatile =
true);
-
- 1396 #if !RADIOLIB_GODMODE && !RADIOLIB_LOW_LEVEL
-
-
- 1399 Module* getMod()
override;
-
-
- 1402 int16_t writeRegMem32(uint32_t addr, uint32_t* data,
size_t len);
- 1403 int16_t readRegMem32(uint32_t addr, uint32_t* data,
size_t len);
- 1404 int16_t writeBuffer8(uint8_t* data,
size_t len);
- 1405 int16_t readBuffer8(uint8_t* data,
size_t len,
size_t offset);
- 1406 int16_t clearRxBuffer(
void);
- 1407 int16_t writeRegMemMask32(uint32_t addr, uint32_t mask, uint32_t data);
+ 1278 int16_t
setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount = 3, uint16_t hopSeed = 0x13A);
+
+ 1294 int16_t
startWifiScan(
char wifiType, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
+
+
+
+
+
+
+
+
+
+ 1341 int16_t
wifiScan(uint8_t wifiType, uint8_t* count, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
+
+
+
+ 1360 int16_t
updateFirmware(
const uint32_t* image,
size_t size,
bool nonvolatile =
true);
+
+ 1362 int16_t isGnssScanCapable();
+
+ 1364 int16_t gnssScan(uint16_t* resSize);
+
+ 1366 int16_t getGnssScanResult(uint16_t size);
+
+ 1368 int16_t getGnssPosition(
float* lat,
float* lon,
bool filtered);
+
+ 1370 #if !RADIOLIB_GODMODE && !RADIOLIB_LOW_LEVEL
+
+
+ 1373 Module* getMod()
override;
+
+
+ 1376 int16_t writeRegMem32(uint32_t addr, uint32_t* data,
size_t len);
+ 1377 int16_t readRegMem32(uint32_t addr, uint32_t* data,
size_t len);
+ 1378 int16_t writeBuffer8(uint8_t* data,
size_t len);
+ 1379 int16_t readBuffer8(uint8_t* data,
size_t len,
size_t offset);
+ 1380 int16_t clearRxBuffer(
void);
+ 1381 int16_t writeRegMemMask32(uint32_t addr, uint32_t mask, uint32_t data);
+
+ 1383 int16_t getStatus(uint8_t* stat1, uint8_t* stat2, uint32_t* irq);
+ 1384 int16_t getVersion(uint8_t* hw, uint8_t* device, uint8_t* major, uint8_t* minor);
+ 1385 int16_t getErrors(uint16_t* err);
+ 1386 int16_t clearErrors(
void);
+ 1387 int16_t calibrate(uint8_t params);
+ 1388 int16_t setRegMode(uint8_t mode);
+ 1389 int16_t calibImage(
float freq1,
float freq2);
+ 1390 int16_t setDioAsRfSwitch(uint8_t en, uint8_t stbyCfg, uint8_t rxCfg, uint8_t txCfg, uint8_t txHpCfg, uint8_t txHfCfg, uint8_t gnssCfg, uint8_t wifiCfg);
+ 1391 int16_t setDioIrqParams(uint32_t irq1, uint32_t irq2);
+ 1392 int16_t clearIrq(uint32_t irq);
+ 1393 int16_t configLfClock(uint8_t setup);
+ 1394 int16_t setTcxoMode(uint8_t tune, uint32_t delay);
+ 1395 int16_t reboot(
bool stay);
+ 1396 int16_t getVbat(
float* vbat);
+ 1397 int16_t getTemp(
float* temp);
+ 1398 int16_t setFs(
void);
+ 1399 int16_t getRandomNumber(uint32_t* rnd);
+ 1400 int16_t eraseInfoPage(
void);
+ 1401 int16_t writeInfoPage(uint16_t addr,
const uint32_t* data,
size_t len);
+ 1402 int16_t readInfoPage(uint16_t addr, uint32_t* data,
size_t len);
+ 1403 int16_t getChipEui(uint8_t* eui);
+ 1404 int16_t getSemtechJoinEui(uint8_t* eui);
+ 1405 int16_t deriveRootKeysAndGetPin(uint8_t* pin);
+ 1406 int16_t enableSpiCrc(
bool en);
+ 1407 int16_t driveDiosInSleepMode(
bool en);
- 1409 int16_t getStatus(uint8_t* stat1, uint8_t* stat2, uint32_t* irq);
- 1410 int16_t getVersion(uint8_t* hw, uint8_t* device, uint8_t* major, uint8_t* minor);
- 1411 int16_t getErrors(uint16_t* err);
- 1412 int16_t clearErrors(
void);
- 1413 int16_t calibrate(uint8_t params);
- 1414 int16_t setRegMode(uint8_t mode);
- 1415 int16_t calibImage(
float freq1,
float freq2);
- 1416 int16_t setDioAsRfSwitch(uint8_t en, uint8_t stbyCfg, uint8_t rxCfg, uint8_t txCfg, uint8_t txHpCfg, uint8_t txHfCfg, uint8_t gnssCfg, uint8_t wifiCfg);
- 1417 int16_t setDioIrqParams(uint32_t irq1, uint32_t irq2);
- 1418 int16_t clearIrq(uint32_t irq);
- 1419 int16_t configLfClock(uint8_t setup);
- 1420 int16_t setTcxoMode(uint8_t tune, uint32_t delay);
- 1421 int16_t reboot(
bool stay);
- 1422 int16_t getVbat(
float* vbat);
- 1423 int16_t getTemp(
float* temp);
- 1424 int16_t setFs(
void);
- 1425 int16_t getRandomNumber(uint32_t* rnd);
- 1426 int16_t eraseInfoPage(
void);
- 1427 int16_t writeInfoPage(uint16_t addr,
const uint32_t* data,
size_t len);
- 1428 int16_t readInfoPage(uint16_t addr, uint32_t* data,
size_t len);
- 1429 int16_t getChipEui(uint8_t* eui);
- 1430 int16_t getSemtechJoinEui(uint8_t* eui);
- 1431 int16_t deriveRootKeysAndGetPin(uint8_t* pin);
- 1432 int16_t enableSpiCrc(
bool en);
- 1433 int16_t driveDiosInSleepMode(
bool en);
-
- 1435 int16_t resetStats(
void);
- 1436 int16_t getStats(uint16_t* nbPktReceived, uint16_t* nbPktCrcError, uint16_t* data1, uint16_t* data2);
- 1437 int16_t getPacketType(uint8_t* type);
- 1438 int16_t getRxBufferStatus(uint8_t* len, uint8_t* startOffset);
- 1439 int16_t getPacketStatusLoRa(
float* rssiPkt,
float* snrPkt,
float* signalRssiPkt);
- 1440 int16_t getPacketStatusGFSK(
float* rssiSync,
float* rssiAvg, uint8_t* rxLen, uint8_t* stat);
- 1441 int16_t getRssiInst(
float* rssi);
- 1442 int16_t setGfskSyncWord(uint8_t* sync);
- 1443 int16_t setLoRaPublicNetwork(
bool pub);
- 1444 int16_t setRx(uint32_t timeout);
- 1445 int16_t setTx(uint32_t timeout);
- 1446 int16_t setRfFrequency(uint32_t rfFreq);
- 1447 int16_t autoTxRx(uint32_t delay, uint8_t intMode, uint32_t timeout);
- 1448 int16_t setCadParams(uint8_t symNum, uint8_t detPeak, uint8_t detMin, uint8_t cadExitMode, uint32_t timeout);
- 1449 int16_t setPacketType(uint8_t type);
- 1450 int16_t setModulationParamsLoRa(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
- 1451 int16_t setModulationParamsGFSK(uint32_t br, uint8_t sh, uint8_t rxBw, uint32_t freqDev);
- 1452 int16_t setModulationParamsLrFhss(uint32_t br, uint8_t sh);
- 1453 int16_t setModulationParamsSigfox(uint32_t br, uint8_t sh);
- 1454 int16_t setPacketParamsLoRa(uint16_t preambleLen, uint8_t hdrType, uint8_t payloadLen, uint8_t crcType, uint8_t
invertIQ);
- 1455 int16_t setPacketParamsGFSK(uint16_t preambleLen, uint8_t preambleDetectorLen, uint8_t syncWordLen, uint8_t addrCmp, uint8_t packType, uint8_t payloadLen, uint8_t crcType, uint8_t whiten);
- 1456 int16_t setPacketParamsSigfox(uint8_t payloadLen, uint16_t rampUpDelay, uint16_t rampDownDelay, uint16_t bitNum);
- 1457 int16_t setTxParams(int8_t pwr, uint8_t ramp);
- 1458 int16_t setPacketAdrs(uint8_t node, uint8_t broadcast);
- 1459 int16_t setRxTxFallbackMode(uint8_t mode);
- 1460 int16_t setRxDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint8_t mode);
- 1461 int16_t setPaConfig(uint8_t paSel, uint8_t regPaSupply, uint8_t paDutyCycle, uint8_t paHpSel);
- 1462 int16_t stopTimeoutOnPreamble(
bool stop);
- 1463 int16_t setCad(
void);
- 1464 int16_t setTxCw(
void);
- 1465 int16_t setTxInfinitePreamble(
void);
- 1466 int16_t setLoRaSynchTimeout(uint8_t symbolNum);
- 1467 int16_t setRangingAddr(uint32_t addr, uint8_t checkLen);
- 1468 int16_t setRangingReqAddr(uint32_t addr);
- 1469 int16_t getRangingResult(uint8_t type,
float* res);
- 1470 int16_t setRangingTxRxDelay(uint32_t delay);
- 1471 int16_t setGfskCrcParams(uint32_t init, uint32_t poly);
- 1472 int16_t setGfskWhitParams(uint16_t seed);
- 1473 int16_t setRangingParameter(uint8_t symbolNum);
- 1474 int16_t setRssiCalibration(
const int8_t* tune, int16_t gainOffset);
- 1475 int16_t setLoRaSyncWord(uint8_t sync);
- 1476 int16_t lrFhssBuildFrame(uint8_t hdrCount, uint8_t cr, uint8_t grid,
bool hop, uint8_t bw, uint16_t hopSeq, int8_t devOffset, uint8_t* payload,
size_t len);
- 1477 int16_t lrFhssSetSyncWord(uint32_t sync);
- 1478 int16_t configBleBeacon(uint8_t chan, uint8_t* payload,
size_t len);
- 1479 int16_t getLoRaRxHeaderInfos(uint8_t* info);
- 1480 int16_t bleBeaconSend(uint8_t chan, uint8_t* payload,
size_t len);
-
- 1482 int16_t
wifiScan(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
- 1483 int16_t wifiScanTimeLimit(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
- 1484 int16_t wifiCountryCode(uint16_t mask, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
- 1485 int16_t wifiCountryCodeTimeLimit(uint16_t mask, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
- 1486 int16_t wifiGetNbResults(uint8_t* nbResults);
- 1487 int16_t wifiReadResults(uint8_t index, uint8_t nbResults, uint8_t format, uint8_t* results);
- 1488 int16_t wifiResetCumulTimings(
void);
- 1489 int16_t wifiReadCumulTimings(uint32_t* detection, uint32_t* capture, uint32_t* demodulation);
- 1490 int16_t wifiGetNbCountryCodeResults(uint8_t* nbResults);
- 1491 int16_t wifiReadCountryCodeResults(uint8_t index, uint8_t nbResults, uint8_t* results);
- 1492 int16_t wifiCfgTimestampAPphone(uint32_t timestamp);
- 1493 int16_t wifiReadVersion(uint8_t* major, uint8_t* minor);
-
- 1495 int16_t gnssSetConstellationToUse(uint8_t mask);
- 1496 int16_t gnssReadConstellationToUse(uint8_t* mask);
- 1497 int16_t gnssSetAlmanacUpdate(uint8_t mask);
- 1498 int16_t gnssReadAlmanacUpdate(uint8_t* mask);
- 1499 int16_t gnssReadVersion(uint8_t* fw, uint8_t* almanac);
- 1500 int16_t gnssReadSupportedConstellations(uint8_t* mask);
- 1501 int16_t gnssSetMode(uint8_t mode);
- 1502 int16_t gnssAutonomous(uint32_t gpsTime, uint8_t resMask, uint8_t nbSvMask);
- 1503 int16_t gnssAssisted(uint32_t gpsTime, uint8_t effort, uint8_t resMask, uint8_t nbSvMask);
- 1504 int16_t gnssSetAssistancePosition(
float lat,
float lon);
- 1505 int16_t gnssReadAssistancePosition(
float* lat,
float* lon);
- 1506 int16_t gnssPushSolverMsg(uint8_t* payload,
size_t len);
- 1507 int16_t gnssPushDmMsg(uint8_t* payload,
size_t len);
- 1508 int16_t gnssGetContextStatus(uint8_t* fwVersion, uint32_t* almanacCrc, uint8_t* errCode, uint8_t* almUpdMask, uint8_t* freqSpace);
- 1509 int16_t gnssGetNbSvDetected(uint8_t* nbSv);
- 1510 int16_t gnssGetSvDetected(uint8_t* svId, uint8_t* snr, uint16_t* doppler,
size_t nbSv);
- 1511 int16_t gnssGetConsumption(uint32_t* cpu, uint32_t* radio);
- 1512 int16_t gnssGetResultSize(uint16_t* size);
- 1513 int16_t gnssReadResults(uint8_t* result, uint16_t size);
- 1514 int16_t gnssAlmanacFullUpdateHeader(uint16_t date, uint32_t globalCrc);
- 1515 int16_t gnssAlmanacFullUpdateSV(uint8_t svn, uint8_t* svnAlmanac);
- 1516 int16_t gnssGetSvVisible(uint32_t time,
float lat,
float lon, uint8_t constellation, uint8_t* nbSv);
- 1517 int16_t gnssScan(uint8_t effort, uint8_t resMask, uint8_t nbSvMax);
- 1518 int16_t gnssReadLastScanModeLaunched(uint8_t* lastScanMode);
- 1519 int16_t gnssFetchTime(uint8_t effort, uint8_t opt);
- 1520 int16_t gnssReadTime(uint8_t* err, uint32_t* time, uint32_t* nbUs, uint32_t* timeAccuracy);
- 1521 int16_t gnssResetTime(
void);
- 1522 int16_t gnssResetPosition(
void);
- 1523 int16_t gnssReadDemodStatus(int8_t* status, uint8_t* info);
- 1524 int16_t gnssReadCumulTiming(uint32_t* timing, uint8_t* constDemod);
- 1525 int16_t gnssSetTime(uint32_t time, uint16_t accuracy);
- 1526 int16_t gnssReadDopplerSolverRes(uint8_t* error, uint8_t* nbSvUsed,
float* lat,
float* lon, uint16_t* accuracy, uint16_t* xtal,
float* latFilt,
float* lonFilt, uint16_t* accuracyFilt, uint16_t* xtalFilt);
- 1527 int16_t gnssReadDelayResetAP(uint32_t* delay);
- 1528 int16_t gnssAlmanacUpdateFromSat(uint8_t effort, uint8_t bitMask);
- 1529 int16_t gnssReadAlmanacStatus(uint8_t* status);
- 1530 int16_t gnssConfigAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t period);
- 1531 int16_t gnssReadAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t* period);
- 1532 int16_t gnssConfigDelayResetAP(uint32_t delay);
- 1533 int16_t gnssGetSvWarmStart(uint8_t bitMask, uint8_t* sv, uint8_t nbVisSat);
- 1534 int16_t gnssReadWNRollover(uint8_t* status, uint8_t* rollover);
- 1535 int16_t gnssReadWarmStartStatus(uint8_t bitMask, uint8_t* nbVisSat, uint32_t* timeElapsed);
- 1536 int16_t gnssWriteBitMaskSatActivated(uint8_t bitMask, uint32_t* bitMaskActivated0, uint32_t* bitMaskActivated1);
-
- 1538 int16_t cryptoSetKey(uint8_t keyId, uint8_t* key);
- 1539 int16_t cryptoDeriveKey(uint8_t srcKeyId, uint8_t dstKeyId, uint8_t* key);
- 1540 int16_t cryptoProcessJoinAccept(uint8_t decKeyId, uint8_t verKeyId, uint8_t lwVer, uint8_t* header, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
- 1541 int16_t cryptoComputeAesCmac(uint8_t keyId, uint8_t* data,
size_t len, uint32_t* mic);
- 1542 int16_t cryptoVerifyAesCmac(uint8_t keyId, uint32_t micExp, uint8_t* data,
size_t len,
bool* result);
- 1543 int16_t cryptoAesEncrypt01(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
- 1544 int16_t cryptoAesEncrypt(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
- 1545 int16_t cryptoAesDecrypt(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
- 1546 int16_t cryptoStoreToFlash(
void);
- 1547 int16_t cryptoRestoreFromFlash(
void);
- 1548 int16_t cryptoSetParam(uint8_t
id, uint32_t value);
- 1549 int16_t cryptoGetParam(uint8_t
id, uint32_t* value);
- 1550 int16_t cryptoCheckEncryptedFirmwareImage(uint32_t offset, uint32_t* data,
size_t len,
bool nonvolatile);
- 1551 int16_t cryptoCheckEncryptedFirmwareImageResult(
bool* result);
-
- 1553 int16_t bootEraseFlash(
void);
- 1554 int16_t bootWriteFlashEncrypted(uint32_t offset, uint32_t* data,
size_t len,
bool nonvolatile);
- 1555 int16_t bootReboot(
bool stay);
- 1556 int16_t bootGetPin(uint8_t* pin);
- 1557 int16_t bootGetChipEui(uint8_t* eui);
- 1558 int16_t bootGetJoinEui(uint8_t* eui);
-
- 1560 int16_t SPIcommand(uint16_t cmd,
bool write, uint8_t* data,
size_t len, uint8_t* out = NULL,
size_t outLen = 0);
-
- 1562 #if !RADIOLIB_GODMODE
-
-
- 1565 uint8_t chipType = 0;
+ 1409 int16_t resetStats(
void);
+ 1410 int16_t getStats(uint16_t* nbPktReceived, uint16_t* nbPktCrcError, uint16_t* data1, uint16_t* data2);
+ 1411 int16_t getPacketType(uint8_t* type);
+ 1412 int16_t getRxBufferStatus(uint8_t* len, uint8_t* startOffset);
+ 1413 int16_t getPacketStatusLoRa(
float* rssiPkt,
float* snrPkt,
float* signalRssiPkt);
+ 1414 int16_t getPacketStatusGFSK(
float* rssiSync,
float* rssiAvg, uint8_t* rxLen, uint8_t* stat);
+ 1415 int16_t getRssiInst(
float* rssi);
+ 1416 int16_t setGfskSyncWord(uint8_t* sync);
+ 1417 int16_t setLoRaPublicNetwork(
bool pub);
+ 1418 int16_t setRx(uint32_t timeout);
+ 1419 int16_t setTx(uint32_t timeout);
+ 1420 int16_t setRfFrequency(uint32_t rfFreq);
+ 1421 int16_t autoTxRx(uint32_t delay, uint8_t intMode, uint32_t timeout);
+ 1422 int16_t setCadParams(uint8_t symNum, uint8_t detPeak, uint8_t detMin, uint8_t cadExitMode, uint32_t timeout);
+ 1423 int16_t setPacketType(uint8_t type);
+ 1424 int16_t setModulationParamsLoRa(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+ 1425 int16_t setModulationParamsGFSK(uint32_t br, uint8_t sh, uint8_t rxBw, uint32_t freqDev);
+ 1426 int16_t setModulationParamsLrFhss(uint32_t br, uint8_t sh);
+ 1427 int16_t setModulationParamsSigfox(uint32_t br, uint8_t sh);
+ 1428 int16_t setPacketParamsLoRa(uint16_t preambleLen, uint8_t hdrType, uint8_t payloadLen, uint8_t crcType, uint8_t
invertIQ);
+ 1429 int16_t setPacketParamsGFSK(uint16_t preambleLen, uint8_t preambleDetectorLen, uint8_t syncWordLen, uint8_t addrCmp, uint8_t packType, uint8_t payloadLen, uint8_t crcType, uint8_t whiten);
+ 1430 int16_t setPacketParamsSigfox(uint8_t payloadLen, uint16_t rampUpDelay, uint16_t rampDownDelay, uint16_t bitNum);
+ 1431 int16_t setTxParams(int8_t pwr, uint8_t ramp);
+ 1432 int16_t setPacketAdrs(uint8_t node, uint8_t broadcast);
+ 1433 int16_t setRxTxFallbackMode(uint8_t mode);
+ 1434 int16_t setRxDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint8_t mode);
+ 1435 int16_t setPaConfig(uint8_t paSel, uint8_t regPaSupply, uint8_t paDutyCycle, uint8_t paHpSel);
+ 1436 int16_t stopTimeoutOnPreamble(
bool stop);
+ 1437 int16_t setCad(
void);
+ 1438 int16_t setTxCw(
void);
+ 1439 int16_t setTxInfinitePreamble(
void);
+ 1440 int16_t setLoRaSynchTimeout(uint8_t symbolNum);
+ 1441 int16_t setRangingAddr(uint32_t addr, uint8_t checkLen);
+ 1442 int16_t setRangingReqAddr(uint32_t addr);
+ 1443 int16_t getRangingResult(uint8_t type,
float* res);
+ 1444 int16_t setRangingTxRxDelay(uint32_t delay);
+ 1445 int16_t setGfskCrcParams(uint32_t init, uint32_t poly);
+ 1446 int16_t setGfskWhitParams(uint16_t seed);
+ 1447 int16_t setRangingParameter(uint8_t symbolNum);
+ 1448 int16_t setRssiCalibration(
const int8_t* tune, int16_t gainOffset);
+ 1449 int16_t setLoRaSyncWord(uint8_t sync);
+ 1450 int16_t lrFhssBuildFrame(uint8_t hdrCount, uint8_t cr, uint8_t grid,
bool hop, uint8_t bw, uint16_t hopSeq, int8_t devOffset, uint8_t* payload,
size_t len);
+ 1451 int16_t lrFhssSetSyncWord(uint32_t sync);
+ 1452 int16_t configBleBeacon(uint8_t chan, uint8_t* payload,
size_t len);
+ 1453 int16_t getLoRaRxHeaderInfos(uint8_t* info);
+ 1454 int16_t bleBeaconSend(uint8_t chan, uint8_t* payload,
size_t len);
+
+ 1456 int16_t
wifiScan(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
+ 1457 int16_t wifiScanTimeLimit(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
+ 1458 int16_t wifiCountryCode(uint16_t mask, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
+ 1459 int16_t wifiCountryCodeTimeLimit(uint16_t mask, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
+ 1460 int16_t wifiGetNbResults(uint8_t* nbResults);
+ 1461 int16_t wifiReadResults(uint8_t index, uint8_t nbResults, uint8_t format, uint8_t* results);
+ 1462 int16_t wifiResetCumulTimings(
void);
+ 1463 int16_t wifiReadCumulTimings(uint32_t* detection, uint32_t* capture, uint32_t* demodulation);
+ 1464 int16_t wifiGetNbCountryCodeResults(uint8_t* nbResults);
+ 1465 int16_t wifiReadCountryCodeResults(uint8_t index, uint8_t nbResults, uint8_t* results);
+ 1466 int16_t wifiCfgTimestampAPphone(uint32_t timestamp);
+ 1467 int16_t wifiReadVersion(uint8_t* major, uint8_t* minor);
+
+ 1469 int16_t gnssSetConstellationToUse(uint8_t mask);
+ 1470 int16_t gnssReadConstellationToUse(uint8_t* mask);
+ 1471 int16_t gnssSetAlmanacUpdate(uint8_t mask);
+ 1472 int16_t gnssReadAlmanacUpdate(uint8_t* mask);
+ 1473 int16_t gnssReadVersion(uint8_t* fw, uint8_t* almanac);
+ 1474 int16_t gnssReadSupportedConstellations(uint8_t* mask);
+ 1475 int16_t gnssSetMode(uint8_t mode);
+ 1476 int16_t gnssAutonomous(uint32_t gpsTime, uint8_t resMask, uint8_t nbSvMask);
+ 1477 int16_t gnssAssisted(uint32_t gpsTime, uint8_t effort, uint8_t resMask, uint8_t nbSvMask);
+ 1478 int16_t gnssSetAssistancePosition(
float lat,
float lon);
+ 1479 int16_t gnssReadAssistancePosition(
float* lat,
float* lon);
+ 1480 int16_t gnssPushSolverMsg(uint8_t* payload,
size_t len);
+ 1481 int16_t gnssPushDmMsg(uint8_t* payload,
size_t len);
+ 1482 int16_t gnssGetContextStatus(uint8_t* fwVersion, uint32_t* almanacCrc, uint8_t* errCode, uint8_t* almUpdMask, uint8_t* freqSpace);
+ 1483 int16_t gnssGetNbSvDetected(uint8_t* nbSv);
+ 1484 int16_t gnssGetSvDetected(uint8_t* svId, uint8_t* snr, uint16_t* doppler,
size_t nbSv);
+ 1485 int16_t gnssGetConsumption(uint32_t* cpu, uint32_t* radio);
+ 1486 int16_t gnssGetResultSize(uint16_t* size);
+ 1487 int16_t gnssReadResults(uint8_t* result, uint16_t size);
+ 1488 int16_t gnssAlmanacFullUpdateHeader(uint16_t date, uint32_t globalCrc);
+ 1489 int16_t gnssAlmanacFullUpdateSV(uint8_t svn, uint8_t* svnAlmanac);
+ 1490 int16_t gnssGetSvVisible(uint32_t time,
float lat,
float lon, uint8_t constellation, uint8_t* nbSv);
+ 1491 int16_t gnssPerformScan(uint8_t effort, uint8_t resMask, uint8_t nbSvMax);
+ 1492 int16_t gnssReadLastScanModeLaunched(uint8_t* lastScanMode);
+ 1493 int16_t gnssFetchTime(uint8_t effort, uint8_t opt);
+ 1494 int16_t gnssReadTime(uint8_t* err, uint32_t* time, uint32_t* nbUs, uint32_t* timeAccuracy);
+ 1495 int16_t gnssResetTime(
void);
+ 1496 int16_t gnssResetPosition(
void);
+ 1497 int16_t gnssReadDemodStatus(int8_t* status, uint8_t* info);
+ 1498 int16_t gnssReadCumulTiming(uint32_t* timing, uint8_t* constDemod);
+ 1499 int16_t gnssSetTime(uint32_t time, uint16_t accuracy);
+ 1500 int16_t gnssReadDopplerSolverRes(uint8_t* error, uint8_t* nbSvUsed,
float* lat,
float* lon, uint16_t* accuracy, uint16_t* xtal,
float* latFilt,
float* lonFilt, uint16_t* accuracyFilt, uint16_t* xtalFilt);
+ 1501 int16_t gnssReadDelayResetAP(uint32_t* delay);
+ 1502 int16_t gnssAlmanacUpdateFromSat(uint8_t effort, uint8_t bitMask);
+ 1503 int16_t gnssReadAlmanacStatus(uint8_t* status);
+ 1504 int16_t gnssConfigAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t period);
+ 1505 int16_t gnssReadAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t* period);
+ 1506 int16_t gnssConfigDelayResetAP(uint32_t delay);
+ 1507 int16_t gnssGetSvWarmStart(uint8_t bitMask, uint8_t* sv, uint8_t nbVisSat);
+ 1508 int16_t gnssReadWNRollover(uint8_t* status, uint8_t* rollover);
+ 1509 int16_t gnssReadWarmStartStatus(uint8_t bitMask, uint8_t* nbVisSat, uint32_t* timeElapsed);
+ 1510 int16_t gnssWriteBitMaskSatActivated(uint8_t bitMask, uint32_t* bitMaskActivated0, uint32_t* bitMaskActivated1);
+
+ 1512 int16_t cryptoSetKey(uint8_t keyId, uint8_t* key);
+ 1513 int16_t cryptoDeriveKey(uint8_t srcKeyId, uint8_t dstKeyId, uint8_t* key);
+ 1514 int16_t cryptoProcessJoinAccept(uint8_t decKeyId, uint8_t verKeyId, uint8_t lwVer, uint8_t* header, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
+ 1515 int16_t cryptoComputeAesCmac(uint8_t keyId, uint8_t* data,
size_t len, uint32_t* mic);
+ 1516 int16_t cryptoVerifyAesCmac(uint8_t keyId, uint32_t micExp, uint8_t* data,
size_t len,
bool* result);
+ 1517 int16_t cryptoAesEncrypt01(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
+ 1518 int16_t cryptoAesEncrypt(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
+ 1519 int16_t cryptoAesDecrypt(uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
+ 1520 int16_t cryptoStoreToFlash(
void);
+ 1521 int16_t cryptoRestoreFromFlash(
void);
+ 1522 int16_t cryptoSetParam(uint8_t
id, uint32_t value);
+ 1523 int16_t cryptoGetParam(uint8_t
id, uint32_t* value);
+ 1524 int16_t cryptoCheckEncryptedFirmwareImage(uint32_t offset, uint32_t* data,
size_t len,
bool nonvolatile);
+ 1525 int16_t cryptoCheckEncryptedFirmwareImageResult(
bool* result);
+
+ 1527 int16_t bootEraseFlash(
void);
+ 1528 int16_t bootWriteFlashEncrypted(uint32_t offset, uint32_t* data,
size_t len,
bool nonvolatile);
+ 1529 int16_t bootReboot(
bool stay);
+ 1530 int16_t bootGetPin(uint8_t* pin);
+ 1531 int16_t bootGetChipEui(uint8_t* eui);
+ 1532 int16_t bootGetJoinEui(uint8_t* eui);
+
+ 1534 int16_t SPIcommand(uint16_t cmd,
bool write, uint8_t* data,
size_t len, uint8_t* out = NULL,
size_t outLen = 0);
+
+ 1536 #if !RADIOLIB_GODMODE
+
+
+ 1539 uint8_t chipType = 0;
+
+ 1541 #if !RADIOLIB_GODMODE
+
+
+
+
+
+ 1547 uint8_t bandwidth = 0, spreadingFactor = 0, codingRate = 0, ldrOptimize = 0, crcTypeLoRa = 0, headerType = 0;
+ 1548 uint16_t preambleLengthLoRa = 0;
+ 1549 float bandwidthKhz = 0;
+ 1550 bool ldroAuto =
true;
+ 1551 size_t implicitLen = 0;
+ 1552 bool invertIQEnabled =
false;
+
+
+ 1555 uint32_t bitRate = 0, frequencyDev = 0;
+ 1556 uint8_t preambleDetLength = 0, rxBandwidth = 0, pulseShape = 0, crcTypeGFSK = 0, syncWordLength = 0, addrComp = 0, whitening = 0, packetType = 0, node = 0;
+ 1557 uint16_t preambleLengthGFSK = 0;
+
+
+ 1560 uint8_t lrFhssCr = 0, lrFhssBw = 0, lrFhssHdrCount = 0;
+ 1561 uint16_t lrFhssHopSeq = 0;
+
+ 1563 float dataRateMeasured = 0;
+
+ 1565 uint8_t wifiScanMode = 0;
- 1567 #if !RADIOLIB_GODMODE
-
-
-
-
-
- 1573 uint8_t bandwidth = 0, spreadingFactor = 0, codingRate = 0, ldrOptimize = 0, crcTypeLoRa = 0, headerType = 0;
- 1574 uint16_t preambleLengthLoRa = 0;
- 1575 float bandwidthKhz = 0;
- 1576 bool ldroAuto =
true;
- 1577 size_t implicitLen = 0;
- 1578 bool invertIQEnabled =
false;
-
-
- 1581 uint32_t bitRate = 0, frequencyDev = 0;
- 1582 uint8_t preambleDetLength = 0, rxBandwidth = 0, pulseShape = 0, crcTypeGFSK = 0, syncWordLength = 0, addrComp = 0, whitening = 0, packetType = 0, node = 0;
- 1583 uint16_t preambleLengthGFSK = 0;
-
-
- 1586 uint8_t lrFhssCr = 0, lrFhssBw = 0, lrFhssHdrCount = 0;
- 1587 uint16_t lrFhssHopSeq = 0;
-
- 1589 float dataRateMeasured = 0;
-
- 1591 uint8_t wifiScanMode = 0;
-
- 1593 int16_t modSetup(
float tcxoVoltage, uint8_t modem);
- 1594 static int16_t SPIparseStatus(uint8_t in);
- 1595 static int16_t SPIcheckStatus(
Module* mod);
- 1596 bool findChip(uint8_t ver);
- 1597 int16_t config(uint8_t modem);
- 1598 int16_t setPacketMode(uint8_t mode, uint8_t len);
- 1599 int16_t startCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
- 1600 int16_t setHeaderType(uint8_t hdrType,
size_t len = 0xFF);
-
-
- 1603 int16_t bleBeaconCommon(uint16_t cmd, uint8_t chan, uint8_t* payload,
size_t len);
- 1604 int16_t writeCommon(uint16_t cmd, uint32_t addrOffset,
const uint32_t* data,
size_t len,
bool nonvolatile);
- 1605 int16_t cryptoCommon(uint16_t cmd, uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
-
-
-
-
-
-Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:708
-float getSNR() override
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: LR11x0.cpp:1233
-uint32_t getIrqStatus()
Reads the current IRQ status.
Definition: LR11x0.cpp:497
-int16_t setDataRate(DataRate_t dr) override
Set data.
Definition: LR11x0.cpp:1035
-void setRfSwitchTable(const uint32_t(&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: LR11x0.cpp:1417
-int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: LR11x0.cpp:1408
-int16_t getChannelScanResult() override
Read the channel scan result.
Definition: LR11x0.cpp:585
-float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: LR11x0.cpp:1400
-int16_t setRxBandwidth(float rxBw)
Sets GFSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: LR11x0.cpp:795
-RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override
Calculate the timeout value for this specific module / series (in number of symbols or units of time)
Definition: LR11x0.cpp:1367
-int16_t reset()
Reset method. Will reset the chip to the default state using RST pin.
Definition: LR11x0.cpp:119
-OpMode_t
Custom operation modes for LR11x0. Needed because LR11x0 has several modems (sub-GHz,...
Definition: LR11x0.h:726
-@ MODE_TX_HP
Definition: LR11x0.h:736
-@ MODE_END_OF_TABLE
Definition: LR11x0.h:728
-@ MODE_WIFI
Definition: LR11x0.h:742
-@ MODE_GNSS
Definition: LR11x0.h:740
-@ MODE_TX
Definition: LR11x0.h:734
-@ MODE_RX
Definition: LR11x0.h:732
-@ MODE_STBY
Definition: LR11x0.h:730
-@ MODE_TX_HF
Definition: LR11x0.h:738
-int16_t startWifiScan(char wifiType, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Start passive WiFi scan. BUSY pin will be de-activated when the scan is finished.
Definition: LR11x0.cpp:1460
+ 1567 int16_t modSetup(
float tcxoVoltage, uint8_t modem);
+ 1568 static int16_t SPIparseStatus(uint8_t in);
+ 1569 static int16_t SPIcheckStatus(
Module* mod);
+ 1570 bool findChip(uint8_t ver);
+ 1571 int16_t config(uint8_t modem);
+ 1572 int16_t setPacketMode(uint8_t mode, uint8_t len);
+ 1573 int16_t startCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+ 1574 int16_t setHeaderType(uint8_t hdrType,
size_t len = 0xFF);
+
+
+ 1577 int16_t bleBeaconCommon(uint16_t cmd, uint8_t chan, uint8_t* payload,
size_t len);
+ 1578 int16_t writeCommon(uint16_t cmd, uint32_t addrOffset,
const uint32_t* data,
size_t len,
bool nonvolatile);
+ 1579 int16_t cryptoCommon(uint16_t cmd, uint8_t keyId, uint8_t* dataIn,
size_t len, uint8_t* dataOut);
+
+
+
+
+
+Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:712
+float getSNR() override
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: LR11x0.cpp:1184
+uint32_t getIrqStatus()
Reads the current IRQ status.
Definition: LR11x0.cpp:488
+int16_t setDataRate(DataRate_t dr) override
Set data.
Definition: LR11x0.cpp:982
+void setRfSwitchTable(const uint32_t(&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: LR11x0.cpp:1368
+int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: LR11x0.cpp:1359
+int16_t getChannelScanResult() override
Read the channel scan result.
Definition: LR11x0.cpp:576
+float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: LR11x0.cpp:1351
+int16_t setRxBandwidth(float rxBw)
Sets GFSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: LR11x0.cpp:742
+RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override
Calculate the timeout value for this specific module / series (in number of symbols or units of time)
Definition: LR11x0.cpp:1318
+int16_t reset()
Reset method. Will reset the chip to the default state using RST pin.
Definition: LR11x0.cpp:110
+OpMode_t
Custom operation modes for LR11x0. Needed because LR11x0 has several modems (sub-GHz,...
Definition: LR11x0.h:730
+@ MODE_TX_HP
Definition: LR11x0.h:740
+@ MODE_END_OF_TABLE
Definition: LR11x0.h:732
+@ MODE_WIFI
Definition: LR11x0.h:746
+@ MODE_GNSS
Definition: LR11x0.h:744
+@ MODE_TX
Definition: LR11x0.h:738
+@ MODE_RX
Definition: LR11x0.h:736
+@ MODE_STBY
Definition: LR11x0.h:734
+@ MODE_TX_HF
Definition: LR11x0.h:742
+int16_t startWifiScan(char wifiType, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Start passive WiFi scan. BUSY pin will be de-activated when the scan is finished.
Definition: LR11x0.cpp:1411
virtual int16_t readData(uint8_t *data, size_t len)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:209
-int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1396
-bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: LR11x0.h:748
-int16_t beginLRFHSS(uint8_t bw, uint8_t cr, int8_t power, float tcxoVoltage)
Initialization method for LR-FHSS modem.
Definition: LR11x0.cpp:97
-int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, int8_t power, uint16_t preambleLength, float tcxoVoltage)
Initialization method for LoRa modem.
Definition: LR11x0.cpp:16
-int16_t getWifiScanResult(LR11x0WifiResult_t *result, uint8_t index, bool brief=false)
Retrieve passive WiFi scan result.
Definition: LR11x0.cpp:1519
-void setIrqAction(void(*func)(void))
Sets interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:351
+int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1347
+bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: LR11x0.h:752
+int16_t getWifiScanResult(LR11x0WifiResult_t *result, uint8_t index, bool brief=false)
Retrieve passive WiFi scan result.
Definition: LR11x0.cpp:1470
+void setIrqAction(void(*func)(void))
Sets interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:342
int16_t transmit(const char *str, uint8_t addr=0)
C-string transmit method.
Definition: PhysicalLayer.cpp:52
-int16_t checkDataRate(DataRate_t dr) override
Check the data rate can be configured by this module.
Definition: LR11x0.cpp:1065
-int16_t startChannelScan() override
Interrupt-driven channel activity detection method. IRQ1 will be activated when LoRa preamble is dete...
Definition: LR11x0.cpp:552
-int16_t setCRC(uint8_t len, uint32_t initial=0x00001D0FUL, uint32_t polynomial=0x00001021UL, bool inverted=true)
Sets CRC configuration.
Definition: LR11x0.cpp:1159
+int16_t checkDataRate(DataRate_t dr) override
Check the data rate can be configured by this module.
Definition: LR11x0.cpp:1016
+int16_t startChannelScan() override
Interrupt-driven channel activity detection method. IRQ1 will be activated when LoRa preamble is dete...
Definition: LR11x0.cpp:543
+int16_t setCRC(uint8_t len, uint32_t initial=0x00001D0FUL, uint32_t polynomial=0x00001021UL, bool inverted=true)
Sets CRC configuration.
Definition: LR11x0.cpp:1110
LR11x0(Module *mod)
Default constructor.
Definition: LR11x0.cpp:11
-int16_t setCodingRate(uint8_t cr, bool longInterleave=false)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: LR11x0.cpp:709
-int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: LR11x0.cpp:964
-int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -9 to 22 dBm (high-power PA) or -17 to 14 dBm (lo...
Definition: LR11x0.cpp:608
-int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:1002
-int16_t getWifiScanResultsCount(uint8_t *count)
Get number of WiFi scan results after the scan is finished.
Definition: LR11x0.cpp:1505
-int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: LR11x0.cpp:913
-int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets GFSK sync word in the form of array of up to 8 bytes.
Definition: LR11x0.cpp:892
-int16_t checkOutputPower(int8_t power, int8_t *clipped) override
Check if output power is configurable. This method is needed for compatibility with PhysicalLayer::ch...
Definition: LR11x0.cpp:631
-int16_t scanChannel() override
Performs scan for LoRa transmission in the current channel. Detects both preamble and payload.
Definition: LR11x0.cpp:289
-float getRSSI() override
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet. Only available for LoRa o...
Definition: LR11x0.cpp:1216
-int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: LR11x0.cpp:307
-int16_t setSyncWord(uint32_t syncWord)
Sets LoRa or LR-FHSS sync word.
Definition: LR11x0.cpp:742
-uint8_t randomByte() override
Get one truly random byte from RSSI noise.
Definition: LR11x0.cpp:1386
-int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in GFSK mode only. Serves only as alias for PhysicalLayer compa...
Definition: LR11x0.cpp:998
-int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount=3, uint16_t hopSeed=0x13A)
Sets LR-FHSS configuration.
Definition: LR11x0.cpp:1439
-bool isRxTimeout() override
Check whether the IRQ bit for RxTimeout is set.
Definition: LR11x0.cpp:1380
-void setPacketSentAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:367
+int16_t setCodingRate(uint8_t cr, bool longInterleave=false)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: LR11x0.cpp:656
+int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: LR11x0.cpp:911
+int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:949
+int16_t getWifiScanResultsCount(uint8_t *count)
Get number of WiFi scan results after the scan is finished.
Definition: LR11x0.cpp:1456
+int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: LR11x0.cpp:860
+int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets GFSK sync word in the form of array of up to 8 bytes.
Definition: LR11x0.cpp:839
+int16_t scanChannel() override
Performs scan for LoRa transmission in the current channel. Detects both preamble and payload.
Definition: LR11x0.cpp:280
+float getRSSI() override
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet. Only available for LoRa o...
Definition: LR11x0.cpp:1167
+int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: LR11x0.cpp:298
+int16_t setSyncWord(uint32_t syncWord)
Sets LoRa or LR-FHSS sync word.
Definition: LR11x0.cpp:689
+int16_t beginLRFHSS(uint8_t bw, uint8_t cr, float tcxoVoltage)
Initialization method for LR-FHSS modem.
Definition: LR11x0.cpp:91
+uint8_t randomByte() override
Get one truly random byte from RSSI noise.
Definition: LR11x0.cpp:1337
+int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in GFSK mode only. Serves only as alias for PhysicalLayer compa...
Definition: LR11x0.cpp:945
+int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount=3, uint16_t hopSeed=0x13A)
Sets LR-FHSS configuration.
Definition: LR11x0.cpp:1390
+bool isRxTimeout() override
Check whether the IRQ bit for RxTimeout is set.
Definition: LR11x0.cpp:1331
+int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)
Initialization method for LoRa modem.
Definition: LR11x0.cpp:16
+void setPacketSentAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:358
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:149
-int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: LR11x0.cpp:1404
-void clearPacketSentAction() override
Clears interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:371
-void clearPacketReceivedAction() override
Clears interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:363
-int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: LR11x0.cpp:1104
-int16_t setPreambleLength(size_t preambleLength) override
Sets preamble length for LoRa or GFSK modem. Allowed values range from 1 to 65535.
Definition: LR11x0.cpp:1087
-int16_t startReceive() override
Interrupt-driven receive method with default parameters. Implemented for compatibility with PhysicalL...
Definition: LR11x0.cpp:450
-int16_t finishTransmit() override
Clean up after transmission is done.
Definition: LR11x0.cpp:442
-int16_t setRxBoostedGainMode(bool en)
Enables or disables Rx Boosted Gain mode (additional Rx gain for increased power consumption).
Definition: LR11x0.cpp:1412
-void clearIrqAction()
Clears interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:355
-int16_t setBitRate(float br) override
Sets GFSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: LR11x0.cpp:758
-int16_t beginGFSK(float br, float freqDev, float rxBw, int8_t power, uint16_t preambleLength, float tcxoVoltage)
Initialization method for FSK modem.
Definition: LR11x0.cpp:53
-int16_t updateFirmware(const uint32_t *image, size_t size, bool nonvolatile=true)
Method to upload new firmware image to the device. The device will be automatically erased,...
Definition: LR11x0.cpp:1644
+int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: LR11x0.cpp:1355
+void clearPacketSentAction() override
Clears interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:362
+void clearPacketReceivedAction() override
Clears interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:354
+int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: LR11x0.cpp:1055
+int16_t setPreambleLength(size_t preambleLength) override
Sets preamble length for LoRa or GFSK modem. Allowed values range from 1 to 65535.
Definition: LR11x0.cpp:1038
+int16_t startReceive() override
Interrupt-driven receive method with default parameters. Implemented for compatibility with PhysicalL...
Definition: LR11x0.cpp:441
+int16_t finishTransmit() override
Clean up after transmission is done.
Definition: LR11x0.cpp:433
+int16_t setRxBoostedGainMode(bool en)
Enables or disables Rx Boosted Gain mode (additional Rx gain for increased power consumption).
Definition: LR11x0.cpp:1363
+void clearIrqAction()
Clears interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:346
+int16_t setBitRate(float br) override
Sets GFSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: LR11x0.cpp:705
+int16_t updateFirmware(const uint32_t *image, size_t size, bool nonvolatile=true)
Method to upload new firmware image to the device. The device will be automatically erased,...
Definition: LR11x0.cpp:1595
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
-int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1392
-RadioLibTime_t getTimeOnAir(size_t len) override
Get expected time-on-air for a given size of payload.
Definition: LR11x0.cpp:1270
-int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz.
Definition: LR11x0.cpp:652
-int16_t setFrequencyDeviation(float freqDev) override
Sets GFSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: LR11x0.cpp:775
-size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: LR11x0.cpp:1251
-void setPacketReceivedAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:359
-int16_t getVersionInfo(LR11x0VersionInfo_t *info)
Retrieve LR11x0 hardware, device and firmware version information.
Definition: LR11x0.cpp:1622
-void clearWiFiScanAction()
Clears interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1501
-int16_t sleep() override
Sets the module to sleep mode. To wake the device up, call standby(). Overload with warm start enable...
Definition: LR11x0.cpp:326
-float getFrequencyError()
Gets frequency error of the latest received packet.
Definition: LR11x0.cpp:1246
-int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:1006
-int16_t setWhitening(bool enabled, uint16_t initial=0x01FF)
Sets GFSK whitening parameters.
Definition: LR11x0.cpp:1010
-int16_t wifiScan(uint8_t wifiType, uint8_t *count, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Blocking WiFi scan method. Performs a full passive WiFi scan. This method may block for several secon...
Definition: LR11x0.cpp:1595
-int16_t setSpreadingFactor(uint8_t sf, bool legacy=false)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: LR11x0.cpp:688
-int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: LR11x0.cpp:266
-int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: LR11x0.cpp:281
-int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: LR11x0.cpp:950
-int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: LR11x0.cpp:932
-int16_t irqRxDoneRxTimeout(uint32_t &irqFlags, uint32_t &irqMask) override
Create the flags that make up RxDone and RxTimeout used for receiving downlinks.
Definition: LR11x0.cpp:1374
-int16_t invertIQ(bool enable) override
Enable/disable inversion of the I and Q signals.
Definition: LR11x0.cpp:1203
-void setWiFiScanAction(void(*func)(void))
Sets interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1497
+int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1343
+int16_t beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)
Initialization method for FSK modem.
Definition: LR11x0.cpp:50
+RadioLibTime_t getTimeOnAir(size_t len) override
Get expected time-on-air for a given size of payload.
Definition: LR11x0.cpp:1221
+int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz.
Definition: LR11x0.cpp:599
+int16_t setFrequencyDeviation(float freqDev) override
Sets GFSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: LR11x0.cpp:722
+size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: LR11x0.cpp:1202
+void setPacketReceivedAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:350
+int16_t getVersionInfo(LR11x0VersionInfo_t *info)
Retrieve LR11x0 hardware, device and firmware version information.
Definition: LR11x0.cpp:1573
+void clearWiFiScanAction()
Clears interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1452
+int16_t sleep() override
Sets the module to sleep mode. To wake the device up, call standby(). Overload with warm start enable...
Definition: LR11x0.cpp:317
+float getFrequencyError()
Gets frequency error of the latest received packet.
Definition: LR11x0.cpp:1197
+int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:953
+int16_t setWhitening(bool enabled, uint16_t initial=0x01FF)
Sets GFSK whitening parameters.
Definition: LR11x0.cpp:957
+int16_t wifiScan(uint8_t wifiType, uint8_t *count, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Blocking WiFi scan method. Performs a full passive WiFi scan. This method may block for several secon...
Definition: LR11x0.cpp:1546
+int16_t setSpreadingFactor(uint8_t sf, bool legacy=false)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: LR11x0.cpp:635
+int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: LR11x0.cpp:257
+int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: LR11x0.cpp:272
+int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: LR11x0.cpp:897
+int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: LR11x0.cpp:879
+int16_t irqRxDoneRxTimeout(uint32_t &irqFlags, uint32_t &irqMask) override
Create the flags that make up RxDone and RxTimeout used for receiving downlinks.
Definition: LR11x0.cpp:1325
+int16_t invertIQ(bool enable) override
Enable/disable inversion of the I and Q signals.
Definition: LR11x0.cpp:1154
+void setWiFiScanAction(void(*func)(void))
Sets interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1448
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code. Note: It is not recommended to use this c...
Definition: Module.h:74
@ MODE_TX
Transmission mode.
Definition: Module.h:111
@@ -1237,6 +1239,7 @@ $(document).ready(function(){initNavTree('_l_r11x0_8h_source.html',''); initResi
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:149
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
unsigned long RadioLibTime_t
Type used for durations in RadioLib.
Definition: TypeDef.h:611
+
Structure to report information about versions of the LR11x0 hardware and firmware.
Definition: LR11x0.h:677
uint8_t fwMajor
Major revision of the base firmware.
Definition: LR11x0.h:685
uint8_t fwMinorWiFi
Minor revision of the WiFi firmware.
Definition: LR11x0.h:694
diff --git a/annotated.html b/annotated.html
index 241e15ee..681f404a 100644
--- a/annotated.html
+++ b/annotated.html
@@ -117,57 +117,58 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
CLR1120 | Derived class for LR1120 modules |
CLR1121 | Derived class for LR1121 modules |
CLR11x0 | Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from this base class. This class should not be instantiated directly from user code, only from its derived classes |
- CLR11x0VersionInfo_t | Structure to report information about versions of the LR11x0 hardware and firmware |
- CLR11x0WifiResult_t | Structure to save result of passive WiFi scan. This result only saves the basic information |
- CLR11x0WifiResultExtended_t | Structure to save result of passive WiFi scan. This result saves additional information alongside that in LR11x0WifiResultFull_t. Only scans performed with RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON acquisition mode can yield this result! |
- CLR11x0WifiResultFull_t | Structure to save result of passive WiFi scan. This result saves additional information alongside that in LR11x0WifiResult_t |
- ▼CModule | Implements all common low-level methods to control the wireless module. Every module class contains one private instance of this class |
- CRfSwitchMode_t | Description of RF switch pin states for a single mode. See setRfSwitchTable for details |
- CSPIConfig_t | SPI configuration structure |
- CMorseClient | Client for Morse Code communication. The public interface is the same as Arduino Serial |
- CnRF24 | Control class for nRF24 module |
- CPagerClient | Client for Pager communication |
- CPhysicalLayer | Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN. Also extracts some common module-independent methods. Using this interface class allows to use the protocols on various modules without much code duplicity. Because this class is used mainly as interface, all of its virtual members must be implemented in the module class |
- CRadioLibAES128 | Class to perform AES encryption, decryption and CMAC |
- CRadioLibBCH | Class to calculate Bose–Chaudhuri–Hocquenghem (BCH) class of forward error correction codes. In theory, this should be able to calculate an arbitrary BCH(N, K) code, but so far it was only tested for BCH(31, 21) |
- CRadioLibCRC | Class to calculate CRCs of varying formats |
- CRadioLibHal | Hardware abstraction library base interface |
- CRadioLibPrint | Printing class, based on Arduino Print class with additional encodings |
- CRF69 | Control class for RF69 module. Also serves as base class for SX1231 |
- CRFM22 | Only exists as alias for Si4432, since there seems to be no difference between RFM22 and Si4432 modules |
- CRFM23 | Only exists as alias for Si4431, since there seems to be no difference between RFM23 and Si4431 modules |
- CRFM95 | Only exists as alias for SX1276, since there seems to be no difference between RFM95 and SX1276 modules |
- CRFM96 | Only exists as alias for SX1276, since there seems to be no difference between RFM96 and SX1276 modules |
- CRFM97 | Only exists as alias for SX1277, since there seems to be no difference between RFM97 and SX1277 modules |
- CRFM98 | Only exists as alias for SX1278, since there seems to be no difference between RFM98 and SX1278 modules |
- CRTTYClient | Client for RTTY communication. The public interface is the same as Arduino Serial |
- CSi4430 | Derived class for Si4430 modules |
- CSi4431 | Derived class for Si4431 modules |
- CSi4432 | Derived class for Si4432 modules |
- CSi443x | Base class for Si443x series. All derived classes for Si443x (e.g. Si4431 or Si4432) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
- CSSTVClient | Client for SSTV transmissions |
- CSSTVMode_t | Structure to save data about supported SSTV modes |
- CSTM32WLx | Derived class for STM32WL modules |
- CSTM32WLx_Module | |
- CStm32wlxHal | Hardware Abstraction Layer for STM32WL |
- CSX1231 | Control class for SX1231 module. Overrides some methods from RF69 due to different register values |
- CSX1233 | Control class for SX1233 module. Overrides some methods from SX1231/RF69 due to different register values |
- CSX1261 | Derived class for SX1261 modules |
- CSX1262 | Derived class for SX1262 modules |
- CSX1268 | Derived class for SX1268 modules |
- CSX126x | Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
- CSX1272 | Derived class for SX1272 modules. Also used as base class for SX1273. Both modules use the same basic hardware and only differ in parameter ranges |
- CSX1273 | Derived class for SX1273 modules. Overrides some methods from SX1272 due to different parameter ranges |
- CSX1276 | Derived class for SX1276 modules. Overrides some methods from SX1278 due to different parameter ranges |
- CSX1277 | Derived class for SX1277 modules. Overrides some methods from SX1278 due to different parameter ranges |
- CSX1278 | Derived class for SX1278 modules. Also used as base class for SX1276, SX1277, SX1279, RFM95 and RFM96. All of these modules use the same basic hardware and only differ in parameter ranges (and names) |
- CSX1279 | Derived class for SX1279 modules. Overrides some methods from SX1278 due to different parameter ranges |
- CSX127x | Base class for SX127x series. All derived classes for SX127x (e.g. SX1278 or SX1272) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
- CSX1280 | Derived class for SX1280 modules |
- CSX1281 | Derived class for SX1281 modules |
- CSX1282 | Derived class for SX1282 modules |
- CSX128x | Base class for SX128x series. All derived classes for SX128x (e.g. SX1280 or SX1281) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
- Ctone_t | Structure to save data about tone |
+ CLR11x0GnssResult_t | |
+ CLR11x0VersionInfo_t | Structure to report information about versions of the LR11x0 hardware and firmware |
+ CLR11x0WifiResult_t | Structure to save result of passive WiFi scan. This result only saves the basic information |
+ CLR11x0WifiResultExtended_t | Structure to save result of passive WiFi scan. This result saves additional information alongside that in LR11x0WifiResultFull_t. Only scans performed with RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON acquisition mode can yield this result! |
+ CLR11x0WifiResultFull_t | Structure to save result of passive WiFi scan. This result saves additional information alongside that in LR11x0WifiResult_t |
+ ▼CModule | Implements all common low-level methods to control the wireless module. Every module class contains one private instance of this class |
+ CRfSwitchMode_t | Description of RF switch pin states for a single mode. See setRfSwitchTable for details |
+ CSPIConfig_t | SPI configuration structure |
+ CMorseClient | Client for Morse Code communication. The public interface is the same as Arduino Serial |
+ CnRF24 | Control class for nRF24 module |
+ CPagerClient | Client for Pager communication |
+ CPhysicalLayer | Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN. Also extracts some common module-independent methods. Using this interface class allows to use the protocols on various modules without much code duplicity. Because this class is used mainly as interface, all of its virtual members must be implemented in the module class |
+ CRadioLibAES128 | Class to perform AES encryption, decryption and CMAC |
+ CRadioLibBCH | Class to calculate Bose–Chaudhuri–Hocquenghem (BCH) class of forward error correction codes. In theory, this should be able to calculate an arbitrary BCH(N, K) code, but so far it was only tested for BCH(31, 21) |
+ CRadioLibCRC | Class to calculate CRCs of varying formats |
+ CRadioLibHal | Hardware abstraction library base interface |
+ CRadioLibPrint | Printing class, based on Arduino Print class with additional encodings |
+ CRF69 | Control class for RF69 module. Also serves as base class for SX1231 |
+ CRFM22 | Only exists as alias for Si4432, since there seems to be no difference between RFM22 and Si4432 modules |
+ CRFM23 | Only exists as alias for Si4431, since there seems to be no difference between RFM23 and Si4431 modules |
+ CRFM95 | Only exists as alias for SX1276, since there seems to be no difference between RFM95 and SX1276 modules |
+ CRFM96 | Only exists as alias for SX1276, since there seems to be no difference between RFM96 and SX1276 modules |
+ CRFM97 | Only exists as alias for SX1277, since there seems to be no difference between RFM97 and SX1277 modules |
+ CRFM98 | Only exists as alias for SX1278, since there seems to be no difference between RFM98 and SX1278 modules |
+ CRTTYClient | Client for RTTY communication. The public interface is the same as Arduino Serial |
+ CSi4430 | Derived class for Si4430 modules |
+ CSi4431 | Derived class for Si4431 modules |
+ CSi4432 | Derived class for Si4432 modules |
+ CSi443x | Base class for Si443x series. All derived classes for Si443x (e.g. Si4431 or Si4432) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
+ CSSTVClient | Client for SSTV transmissions |
+ CSSTVMode_t | Structure to save data about supported SSTV modes |
+ CSTM32WLx | Derived class for STM32WL modules |
+ CSTM32WLx_Module | |
+ CStm32wlxHal | Hardware Abstraction Layer for STM32WL |
+ CSX1231 | Control class for SX1231 module. Overrides some methods from RF69 due to different register values |
+ CSX1233 | Control class for SX1233 module. Overrides some methods from SX1231/RF69 due to different register values |
+ CSX1261 | Derived class for SX1261 modules |
+ CSX1262 | Derived class for SX1262 modules |
+ CSX1268 | Derived class for SX1268 modules |
+ CSX126x | Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
+ CSX1272 | Derived class for SX1272 modules. Also used as base class for SX1273. Both modules use the same basic hardware and only differ in parameter ranges |
+ CSX1273 | Derived class for SX1273 modules. Overrides some methods from SX1272 due to different parameter ranges |
+ CSX1276 | Derived class for SX1276 modules. Overrides some methods from SX1278 due to different parameter ranges |
+ CSX1277 | Derived class for SX1277 modules. Overrides some methods from SX1278 due to different parameter ranges |
+ CSX1278 | Derived class for SX1278 modules. Also used as base class for SX1276, SX1277, SX1279, RFM95 and RFM96. All of these modules use the same basic hardware and only differ in parameter ranges (and names) |
+ CSX1279 | Derived class for SX1279 modules. Overrides some methods from SX1278 due to different parameter ranges |
+ CSX127x | Base class for SX127x series. All derived classes for SX127x (e.g. SX1278 or SX1272) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
+ CSX1280 | Derived class for SX1280 modules |
+ CSX1281 | Derived class for SX1281 modules |
+ CSX1282 | Derived class for SX1282 modules |
+ CSX128x | Base class for SX128x series. All derived classes for SX128x (e.g. SX1280 or SX1281) inherit from this base class. This class should not be instantiated directly from Arduino sketch, only from its derived classes |
+ Ctone_t | Structure to save data about tone |
diff --git a/annotated_dup.js b/annotated_dup.js
index 42e71409..a31e4e5a 100644
--- a/annotated_dup.js
+++ b/annotated_dup.js
@@ -29,6 +29,7 @@ var annotated_dup =
[ "LR1120", "class_l_r1120.html", "class_l_r1120" ],
[ "LR1121", "class_l_r1121.html", "class_l_r1121" ],
[ "LR11x0", "class_l_r11x0.html", "class_l_r11x0" ],
+ [ "LR11x0GnssResult_t", "struct_l_r11x0_gnss_result__t.html", null ],
[ "LR11x0VersionInfo_t", "struct_l_r11x0_version_info__t.html", "struct_l_r11x0_version_info__t" ],
[ "LR11x0WifiResult_t", "struct_l_r11x0_wifi_result__t.html", "struct_l_r11x0_wifi_result__t" ],
[ "LR11x0WifiResultExtended_t", "struct_l_r11x0_wifi_result_extended__t.html", "struct_l_r11x0_wifi_result_extended__t" ],
diff --git a/class_l_r1110-members.html b/class_l_r1110-members.html
index 6780e842..00759967 100644
--- a/class_l_r1110-members.html
+++ b/class_l_r1110-members.html
@@ -91,15 +91,15 @@ $(document).ready(function(){initNavTree('class_l_r1110.html',''); initResizable