RadioLib Universal wireless communication library for Arduino

LLCC68.h
1 #if !defined(_RADIOLIB_LLCC68_H)
2 #define _RADIOLIB_LLCC68_H
3
4 #include "../../TypeDef.h"
5
6 #if !defined(RADIOLIB_EXCLUDE_SX126X)
7
8 #include "../../Module.h"
9 #include "../SX126x/SX1262.h"
10
11 //RADIOLIB_SX126X_REG_VERSION_STRING
12 #define RADIOLIB_LLCC68_CHIP_TYPE "LLCC68"
13
18 class LLCC68: public SX1262 {
19 public:
24 LLCC68(Module* mod);
25
39 int16_t begin(float freq = 434.0, float bw = 125.0, uint8_t sf = 9, uint8_t cr = 7, uint8_t syncWord = RADIOLIB_SX126X_SYNC_WORD_PRIVATE, int8_t power = 10, uint16_t preambleLength = 8, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
40
41 // configuration methods
42
48 int16_t setBandwidth(float bw);
49
55 int16_t setSpreadingFactor(uint8_t sf);
56
57 #if !defined(RADIOLIB_GODMODE)
58 private:
59 #endif
60
61 };
62
63 #endif
64
65 #endif
LLCC68
Derived class for LLCC68 modules.
Definition: LLCC68.h:18
LLCC68::begin
int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_SX126X_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for LoRa modem.
Definition: LLCC68.cpp:8
LLCC68::setBandwidth
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 125.0, 250.0 and 500.0 kHz.
Definition: LLCC68.cpp:32
LLCC68::LLCC68
LLCC68(Module *mod)
Default constructor.
Definition: LLCC68.cpp:4
LLCC68::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 11, depending on currently set spreading f...
Definition: LLCC68.cpp:37
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:22