[SX127x] Added low-level access macro
This commit is contained in:
parent
cb81709d93
commit
1b289f2bae
7 changed files with 16 additions and 12 deletions
|
@ -287,7 +287,7 @@ class SX1272: public SX127x {
|
||||||
*/
|
*/
|
||||||
int16_t explicitHeader();
|
int16_t explicitHeader();
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
protected:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
int16_t setBandwidthRaw(uint8_t newBandwidth);
|
int16_t setBandwidthRaw(uint8_t newBandwidth);
|
||||||
|
@ -297,7 +297,7 @@ class SX1272: public SX127x {
|
||||||
|
|
||||||
int16_t configFSK();
|
int16_t configFSK();
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
bool _ldroAuto = true;
|
bool _ldroAuto = true;
|
||||||
|
|
|
@ -62,7 +62,7 @@ class SX1273: public SX1272 {
|
||||||
*/
|
*/
|
||||||
int16_t setSpreadingFactor(uint8_t sf);
|
int16_t setSpreadingFactor(uint8_t sf);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ class SX1276: public SX1278 {
|
||||||
*/
|
*/
|
||||||
int16_t setFrequency(float freq);
|
int16_t setFrequency(float freq);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ class SX1277: public SX1278 {
|
||||||
*/
|
*/
|
||||||
int16_t setSpreadingFactor(uint8_t sf);
|
int16_t setSpreadingFactor(uint8_t sf);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -295,7 +295,7 @@ class SX1278: public SX127x {
|
||||||
*/
|
*/
|
||||||
int16_t explicitHeader();
|
int16_t explicitHeader();
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
protected:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
int16_t setBandwidthRaw(uint8_t newBandwidth);
|
int16_t setBandwidthRaw(uint8_t newBandwidth);
|
||||||
|
@ -305,7 +305,7 @@ class SX1278: public SX127x {
|
||||||
|
|
||||||
int16_t configFSK();
|
int16_t configFSK();
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
bool _ldroAuto = true;
|
bool _ldroAuto = true;
|
||||||
|
|
|
@ -84,7 +84,7 @@ class SX1279: public SX1278 {
|
||||||
*/
|
*/
|
||||||
int16_t setFrequency(float freq);
|
int16_t setFrequency(float freq);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -965,11 +965,15 @@ class SX127x: public PhysicalLayer {
|
||||||
*/
|
*/
|
||||||
int16_t invertIQ(bool invertIQ);
|
int16_t invertIQ(bool invertIQ);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||||
protected:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
Module* _mod;
|
Module* _mod;
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
|
protected:
|
||||||
|
#endif
|
||||||
|
|
||||||
float _freq = 0;
|
float _freq = 0;
|
||||||
float _bw = 0;
|
float _bw = 0;
|
||||||
uint8_t _sf = 0;
|
uint8_t _sf = 0;
|
||||||
|
@ -987,7 +991,7 @@ class SX127x: public PhysicalLayer {
|
||||||
int16_t directMode();
|
int16_t directMode();
|
||||||
int16_t setPacketMode(uint8_t mode, uint8_t len);
|
int16_t setPacketMode(uint8_t mode, uint8_t len);
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
float _dataRate = 0;
|
float _dataRate = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue