diff --git a/_c_c1101_8h_source.html b/_c_c1101_8h_source.html index acd64156..e0631e7a 100644 --- a/_c_c1101_8h_source.html +++ b/_c_c1101_8h_source.html @@ -679,44 +679,48 @@ $(document).ready(function(){initNavTree('_c_c1101_8h_source.html',''); initResi
884 
890  int16_t getChipVersion();
891 
-
892 #ifndef RADIOLIB_GODMODE
-
893  private:
-
894 #endif
-
895  Module* _mod;
+
892  #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
893  protected:
+
894  #endif
+
895  Module* _mod;
896 
-
897  float _freq = 0;
-
898  float _br = 0;
-
899  uint8_t _rawRSSI = 0;
-
900  uint8_t _rawLQI = 0;
-
901  uint8_t _modulation = CC1101_MOD_FORMAT_2_FSK;
-
902 
-
903  size_t _packetLength = 0;
-
904  bool _packetLengthQueried = false;
-
905  uint8_t _packetLengthConfig = CC1101_LENGTH_CONFIG_VARIABLE;
+
897  // SPI read overrides to set bit for burst write and status registers access
+
898  int16_t SPIgetRegValue(uint8_t reg, uint8_t msb = 7, uint8_t lsb = 0);
+
899  int16_t SPIsetRegValue(uint8_t reg, uint8_t value, uint8_t msb = 7, uint8_t lsb = 0, uint8_t checkInterval = 2);
+
900  void SPIreadRegisterBurst(uint8_t reg, uint8_t numBytes, uint8_t* inBytes);
+
901  uint8_t SPIreadRegister(uint8_t reg);
+
902  void SPIwriteRegisterBurst(uint8_t reg, uint8_t* data, size_t len);
+
903  void SPIwriteRegister(uint8_t reg, uint8_t data);
+
904 
+
905  void SPIsendCommand(uint8_t cmd);
906 
-
907  bool _promiscuous = false;
-
908  bool _crcOn = true;
-
909 
-
910  uint8_t _syncWordLength = 2;
-
911  int8_t _power = 0;
-
912 
-
913  int16_t config();
-
914  int16_t directMode();
-
915  static void getExpMant(float target, uint16_t mantOffset, uint8_t divExp, uint8_t expMax, uint8_t& exp, uint8_t& mant);
-
916  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
917 
-
918  // SPI read overrides to set bit for burst write and status registers access
-
919  int16_t SPIgetRegValue(uint8_t reg, uint8_t msb = 7, uint8_t lsb = 0);
-
920  int16_t SPIsetRegValue(uint8_t reg, uint8_t value, uint8_t msb = 7, uint8_t lsb = 0, uint8_t checkInterval = 2);
-
921  void SPIreadRegisterBurst(uint8_t reg, uint8_t numBytes, uint8_t* inBytes);
-
922  uint8_t SPIreadRegister(uint8_t reg);
-
923  void SPIwriteRegisterBurst(uint8_t reg, uint8_t* data, size_t len);
-
924  void SPIwriteRegister(uint8_t reg, uint8_t data);
-
925 
-
926  void SPIsendCommand(uint8_t cmd);
-
927 };
-
928 
-
929 #endif
+
907  #if !defined(RADIOLIB_GODMODE)
+
908  protected:
+
909  #endif
+
910 
+
911  float _freq = 0;
+
912  float _br = 0;
+
913  uint8_t _rawRSSI = 0;
+
914  uint8_t _rawLQI = 0;
+
915  uint8_t _modulation = CC1101_MOD_FORMAT_2_FSK;
+
916 
+
917  size_t _packetLength = 0;
+
918  bool _packetLengthQueried = false;
+
919  uint8_t _packetLengthConfig = CC1101_LENGTH_CONFIG_VARIABLE;
+
920 
+
921  bool _promiscuous = false;
+
922  bool _crcOn = true;
+
923 
+
924  uint8_t _syncWordLength = 2;
+
925  int8_t _power = 0;
+
926 
+
927  int16_t config();
+
928  int16_t directMode();
+
929  static void getExpMant(float target, uint16_t mantOffset, uint8_t divExp, uint8_t expMax, uint8_t& exp, uint8_t& mant);
+
930  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
931 };
+
932 
+
933 #endif
PhysicalLayer::transmit
int16_t transmit(__FlashStringHelper *fstr, uint8_t addr=0)
Arduino Flash String transmit method.
Definition: PhysicalLayer.cpp:8
diff --git a/_e_s_p8266_8h_source.html b/_e_s_p8266_8h_source.html index 4e4a6393..b550d9db 100644 --- a/_e_s_p8266_8h_source.html +++ b/_e_s_p8266_8h_source.html @@ -114,13 +114,17 @@ $(document).ready(function(){initNavTree('_e_s_p8266_8h_source.html',''); initRe
55  size_t receive(uint8_t* data, size_t len, uint32_t timeout = 10000) override;
56  size_t getNumBytes(uint32_t timeout = 10000, size_t minBytes = 10) override;
57 
-
58 #ifndef RADIOLIB_GODMODE
-
59  private:
+
58 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
59  protected:
60 #endif
61  Module* _mod;
-
62 };
-
63 
-
64 #endif
+
62 
+
63 #if !defined(RADIOLIB_GODMODE)
+
64  protected:
+
65 #endif
+
66 };
+
67 
+
68 #endif
ESP8266
Control class for ESP8266 module. Implements TransportLayer methods.
Definition: ESP8266.h:14
diff --git a/_r_f69_8h_source.html b/_r_f69_8h_source.html index 5acbab65..228fc68a 100644 --- a/_r_f69_8h_source.html +++ b/_r_f69_8h_source.html @@ -623,38 +623,42 @@ $(document).ready(function(){initNavTree('_r_f69_8h_source.html',''); initResiza
832 
838  int16_t getChipVersion();
839 
-
840 #ifndef RADIOLIB_GODMODE
+
840 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
841  protected:
842 #endif
843  Module* _mod;
844 
-
845  float _br = 0;
-
846  float _rxBw = 0;
-
847  int16_t _tempOffset = 0;
-
848  int8_t _power = 0;
-
849 
-
850  size_t _packetLength = 0;
-
851  bool _packetLengthQueried = false;
-
852  uint8_t _packetLengthConfig = RF69_PACKET_FORMAT_VARIABLE;
+
845 #if !defined(RADIOLIB_GODMODE)
+
846  protected:
+
847 #endif
+
848 
+
849  float _br = 0;
+
850  float _rxBw = 0;
+
851  int16_t _tempOffset = 0;
+
852  int8_t _power = 0;
853 
-
854  bool _promiscuous = false;
-
855 
-
856  uint8_t _syncWordLength = 2;
+
854  size_t _packetLength = 0;
+
855  bool _packetLengthQueried = false;
+
856  uint8_t _packetLengthConfig = RF69_PACKET_FORMAT_VARIABLE;
857 
-
858  int16_t config();
-
859  int16_t directMode();
-
860  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
858  bool _promiscuous = false;
+
859 
+
860  uint8_t _syncWordLength = 2;
861 
-
862 #ifndef RADIOLIB_GODMODE
-
863  private:
-
864 #endif
-
865  int16_t setMode(uint8_t mode);
-
866  void clearIRQFlags();
-
867 };
-
868 
-
869 #endif
-
870 
-
871 #endif
+
862  int16_t config();
+
863  int16_t directMode();
+
864  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
865 
+
866 #if !defined(RADIOLIB_GODMODE)
+
867  private:
+
868 #endif
+
869  int16_t setMode(uint8_t mode);
+
870  void clearIRQFlags();
+
871 };
+
872 
+
873 #endif
+
874 
+
875 #endif
RF69::setCrcFiltering
int16_t setCrcFiltering(bool crcOn=true)
Enable CRC filtering and generation.
Definition: RF69.cpp:693
diff --git a/_r_f_m95_8h_source.html b/_r_f_m95_8h_source.html index 37e8e42d..83c53ae7 100644 --- a/_r_f_m95_8h_source.html +++ b/_r_f_m95_8h_source.html @@ -116,7 +116,7 @@ $(document).ready(function(){initNavTree('_r_f_m95_8h_source.html',''); initResi
61 
69  int16_t setFrequency(float freq);
70 
-
71 #ifndef RADIOLIB_GODMODE
+
71 #if !defined(RADIOLIB_GODMODE)
72  private:
73 #endif
74 
diff --git a/_r_f_m96_8h_source.html b/_r_f_m96_8h_source.html index c6d54f9d..79bebb00 100644 --- a/_r_f_m96_8h_source.html +++ b/_r_f_m96_8h_source.html @@ -116,7 +116,7 @@ $(document).ready(function(){initNavTree('_r_f_m96_8h_source.html',''); initResi
61 
69  int16_t setFrequency(float freq);
70 
-
71 #ifndef RADIOLIB_GODMODE
+
71 #if !defined(RADIOLIB_GODMODE)
72  private:
73 #endif
74 
diff --git a/_r_f_m97_8h_source.html b/_r_f_m97_8h_source.html index 2a3ee636..0a13266d 100644 --- a/_r_f_m97_8h_source.html +++ b/_r_f_m97_8h_source.html @@ -109,7 +109,7 @@ $(document).ready(function(){initNavTree('_r_f_m97_8h_source.html',''); initResi
31 
39  int16_t setSpreadingFactor(uint8_t sf);
40 
-
41 #ifndef RADIOLIB_GODMODE
+
41 #if !defined(RADIOLIB_GODMODE)
42  private:
43 #endif
44 
diff --git a/_s_x1231_8h_source.html b/_s_x1231_8h_source.html index 95ffe219..a99a0ce1 100644 --- a/_s_x1231_8h_source.html +++ b/_s_x1231_8h_source.html @@ -112,7 +112,7 @@ $(document).ready(function(){initNavTree('_s_x1231_8h_source.html',''); initResi
34 
52  int16_t begin(float freq = 434.0, float br = 48.0, float rxBw = 125.0, float freqDev = 50.0, int8_t power = 10, uint8_t preambleLen = 16);
53 
-
54 #ifndef RADIOLIB_GODMODE
+
54 #if !defined(RADIOLIB_GODMODE)
55  private:
56 #endif
57  uint8_t _chipRevision = 0;
diff --git a/_s_x1261_8h_source.html b/_s_x1261_8h_source.html index bebb579a..05cae58a 100644 --- a/_s_x1261_8h_source.html +++ b/_s_x1261_8h_source.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('_s_x1261_8h_source.html',''); initResi
28 
36  int16_t setOutputPower(int8_t power);
37 
-
38 #ifndef RADIOLIB_GODMODE
+
38 #if !defined(RADIOLIB_GODMODE)
39  private:
40 #endif
41 
diff --git a/_s_x1262_8h_source.html b/_s_x1262_8h_source.html index da696060..d6b48a58 100644 --- a/_s_x1262_8h_source.html +++ b/_s_x1262_8h_source.html @@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('_s_x1262_8h_source.html',''); initResi
88 
96  int16_t setOutputPower(int8_t power);
97 
-
98 #ifndef RADIOLIB_GODMODE
+
98 #if !defined(RADIOLIB_GODMODE)
99  private:
100 #endif
101 
diff --git a/_s_x1268_8h_source.html b/_s_x1268_8h_source.html index 6ba774fe..fb9c8bcf 100644 --- a/_s_x1268_8h_source.html +++ b/_s_x1268_8h_source.html @@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('_s_x1268_8h_source.html',''); initResi
88 
96  int16_t setOutputPower(int8_t power);
97 
-
98 #ifndef RADIOLIB_GODMODE
+
98 #if !defined(RADIOLIB_GODMODE)
99  private:
100 #endif
101 
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html index 4bf8bb0c..a6d0d83f 100644 --- a/_s_x126x_8h_source.html +++ b/_s_x126x_8h_source.html @@ -588,40 +588,44 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
928  int16_t fixImplicitTimeout();
929  int16_t fixInvertedIQ(uint8_t iqConfig);
930 
-
931 #ifndef RADIOLIB_GODMODE
-
932  private:
+
931 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
932  protected:
933 #endif
934  Module* _mod;
935 
-
936  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
-
937  uint16_t _preambleLength = 0;
-
938  float _bwKhz = 0;
-
939  bool _ldroAuto = true;
-
940 
-
941  uint32_t _br = 0, _freqDev = 0;
-
942  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
-
943  uint16_t _preambleLengthFSK = 0;
-
944  float _rxBwKhz = 0;
-
945 
-
946  float _dataRate = 0;
-
947 
-
948  uint32_t _tcxoDelay = 0;
-
949 
-
950  size_t _implicitLen = 0;
+
936  // common low-level SPI interface
+
937  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
938  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
939  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
940  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
941  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);
+
942 
+
943 #if !defined(RADIOLIB_GODMODE)
+
944  protected:
+
945 #endif
+
946 
+
947  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
+
948  uint16_t _preambleLength = 0;
+
949  float _bwKhz = 0;
+
950  bool _ldroAuto = true;
951 
-
952  int16_t config(uint8_t modem);
-
953 
-
954  // common low-level SPI interface
-
955  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
956  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
957  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
958  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
959  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);
-
960 };
-
961 
-
962 #endif
-
963 
-
964 #endif
+
952  uint32_t _br = 0, _freqDev = 0;
+
953  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
+
954  uint16_t _preambleLengthFSK = 0;
+
955  float _rxBwKhz = 0;
+
956 
+
957  float _dataRate = 0;
+
958 
+
959  uint32_t _tcxoDelay = 0;
+
960 
+
961  size_t _implicitLen = 0;
+
962 
+
963  int16_t config(uint8_t modem);
+
964 };
+
965 
+
966 #endif
+
967 
+
968 #endif
PhysicalLayer::transmit
int16_t transmit(__FlashStringHelper *fstr, uint8_t addr=0)
Arduino Flash String transmit method.
Definition: PhysicalLayer.cpp:8
diff --git a/_s_x1280_8h_source.html b/_s_x1280_8h_source.html index e3a5b441..d5e28e0e 100644 --- a/_s_x1280_8h_source.html +++ b/_s_x1280_8h_source.html @@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('_s_x1280_8h_source.html',''); initResi
47 
53  float getRangingResult();
54 
-
55 #ifndef RADIOLIB_GODMODE
+
55 #if !defined(RADIOLIB_GODMODE)
56  private:
57 #endif
58 
diff --git a/_s_x1281_8h_source.html b/_s_x1281_8h_source.html index e4a2aa9e..19fd1bf0 100644 --- a/_s_x1281_8h_source.html +++ b/_s_x1281_8h_source.html @@ -100,7 +100,7 @@ $(document).ready(function(){initNavTree('_s_x1281_8h_source.html',''); initResi
17  public:
23  SX1281(Module* mod);
24 
-
25 #ifndef RADIOLIB_GODMODE
+
25 #if !defined(RADIOLIB_GODMODE)
26  private:
27 #endif
28 
diff --git a/_s_x1282_8h_source.html b/_s_x1282_8h_source.html index c53d20fb..8dea8724 100644 --- a/_s_x1282_8h_source.html +++ b/_s_x1282_8h_source.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('_s_x1282_8h_source.html',''); initResi
18  public:
24  SX1282(Module* mod);
25 
-
26 #ifndef RADIOLIB_GODMODE
+
26 #if !defined(RADIOLIB_GODMODE)
27  private:
28 #endif
29 
diff --git a/_s_x128x_8h_source.html b/_s_x128x_8h_source.html index 9d300187..232b182c 100644 --- a/_s_x128x_8h_source.html +++ b/_s_x128x_8h_source.html @@ -514,72 +514,80 @@ $(document).ready(function(){initNavTree('_s_x128x_8h_source.html',''); initResi
755 
761  uint8_t random();
762 
-
763 #ifndef RADIOLIB_GODMODE
+
763 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
764  protected:
765 #endif
766  Module* _mod;
767 
-
768  // cached LoRa parameters
-
769  float _bwKhz = 0;
-
770  uint8_t _bw = 0, _sf = 0, _cr = 0;
-
771  uint8_t _preambleLengthLoRa = 0, _headerType = 0, _payloadLen = 0, _crcLoRa = 0;
-
772 
-
773  // SX128x SPI command implementations
-
774  uint8_t getStatus();
-
775  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
776  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
777  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
-
778  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
-
779  int16_t setTx(uint16_t periodBaseCount = SX128X_TX_TIMEOUT_NONE, uint8_t periodBase = SX128X_PERIOD_BASE_15_625_US);
-
780  int16_t setRx(uint16_t periodBaseCount, uint8_t periodBase = SX128X_PERIOD_BASE_15_625_US);
-
781  int16_t setCad();
-
782  uint8_t getPacketType();
-
783  int16_t setRfFrequency(uint32_t frf);
-
784  int16_t setTxParams(uint8_t power, uint8_t rampTime = SX128X_PA_RAMP_10_US);
-
785  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
-
786  int16_t setModulationParams(uint8_t modParam1, uint8_t modParam2, uint8_t modParam3);
-
787  int16_t setPacketParamsGFSK(uint8_t preambleLen, uint8_t syncWordLen, uint8_t syncWordMatch, uint8_t crcLen, uint8_t whitening, uint8_t payloadLen = 0xFF, uint8_t headerType = SX128X_GFSK_FLRC_PACKET_VARIABLE);
-
788  int16_t setPacketParamsBLE(uint8_t connState, uint8_t crcLen, uint8_t bleTestPayload, uint8_t whitening);
-
789  int16_t setPacketParamsLoRa(uint8_t preambleLen, uint8_t headerType, uint8_t payloadLen, uint8_t crc, uint8_t invertIQ = SX128X_LORA_IQ_STANDARD);
-
790  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = SX128X_IRQ_NONE, uint16_t dio3Mask = SX128X_IRQ_NONE);
-
791  uint16_t getIrqStatus();
-
792  int16_t clearIrqStatus(uint16_t clearIrqParams = SX128X_IRQ_ALL);
-
793  int16_t setRangingRole(uint8_t role);
-
794  int16_t setPacketType(uint8_t type);
-
795 
-
796  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
-
797 
-
798 #ifndef RADIOLIB_GODMODE
-
799  private:
-
800 #endif
-
801  // common parameters
-
802  uint8_t _pwr = 0;
-
803 
-
804  // cached GFSK parameters
-
805  float _modIndexReal = 0;
-
806  uint16_t _brKbps = 0;
-
807  uint8_t _br = 0, _modIndex = 0, _shaping = 0;
-
808  uint8_t _preambleLengthGFSK = 0, _syncWordLen = 0, _syncWordMatch = 0, _crcGFSK = 0, _whitening = 0;
-
809 
-
810  // cached FLRC parameters
-
811  uint8_t _crFLRC = 0;
+
768 #if !defined(RADIOLIB_GODMODE)
+
769  protected:
+
770 #endif
+
771 
+
772  // cached LoRa parameters
+
773  float _bwKhz = 0;
+
774  uint8_t _bw = 0, _sf = 0, _cr = 0;
+
775  uint8_t _preambleLengthLoRa = 0, _headerType = 0, _payloadLen = 0, _crcLoRa = 0;
+
776 
+
777  // SX128x SPI command implementations
+
778  uint8_t getStatus();
+
779  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
780  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
781  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+
782  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
+
783  int16_t setTx(uint16_t periodBaseCount = SX128X_TX_TIMEOUT_NONE, uint8_t periodBase = SX128X_PERIOD_BASE_15_625_US);
+
784  int16_t setRx(uint16_t periodBaseCount, uint8_t periodBase = SX128X_PERIOD_BASE_15_625_US);
+
785  int16_t setCad();
+
786  uint8_t getPacketType();
+
787  int16_t setRfFrequency(uint32_t frf);
+
788  int16_t setTxParams(uint8_t power, uint8_t rampTime = SX128X_PA_RAMP_10_US);
+
789  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
+
790  int16_t setModulationParams(uint8_t modParam1, uint8_t modParam2, uint8_t modParam3);
+
791  int16_t setPacketParamsGFSK(uint8_t preambleLen, uint8_t syncWordLen, uint8_t syncWordMatch, uint8_t crcLen, uint8_t whitening, uint8_t payloadLen = 0xFF, uint8_t headerType = SX128X_GFSK_FLRC_PACKET_VARIABLE);
+
792  int16_t setPacketParamsBLE(uint8_t connState, uint8_t crcLen, uint8_t bleTestPayload, uint8_t whitening);
+
793  int16_t setPacketParamsLoRa(uint8_t preambleLen, uint8_t headerType, uint8_t payloadLen, uint8_t crc, uint8_t invertIQ = SX128X_LORA_IQ_STANDARD);
+
794  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = SX128X_IRQ_NONE, uint16_t dio3Mask = SX128X_IRQ_NONE);
+
795  uint16_t getIrqStatus();
+
796  int16_t clearIrqStatus(uint16_t clearIrqParams = SX128X_IRQ_ALL);
+
797  int16_t setRangingRole(uint8_t role);
+
798  int16_t setPacketType(uint8_t type);
+
799 
+
800  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
+
801 
+
802 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
803  private:
+
804 #endif
+
805 
+
806  // common low-level SPI interface
+
807  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
808  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
809  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
810  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
+
811  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);
812 
-
813  // cached BLE parameters
-
814  uint8_t _connectionState = 0, _crcBLE = 0, _bleTestPayload = 0;
-
815 
-
816  int16_t config(uint8_t modem);
-
817 
-
818  // common low-level SPI interface
-
819  int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
820  int16_t SPIwriteCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
821  int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
822  int16_t SPIreadCommand(uint8_t* cmd, uint8_t cmdLen, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
-
823  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);
-
824 };
-
825 
-
826 #endif
+
813 #if !defined(RADIOLIB_GODMODE)
+
814  private:
+
815 #endif
+
816  // common parameters
+
817  uint8_t _pwr = 0;
+
818 
+
819  // cached GFSK parameters
+
820  float _modIndexReal = 0;
+
821  uint16_t _brKbps = 0;
+
822  uint8_t _br = 0, _modIndex = 0, _shaping = 0;
+
823  uint8_t _preambleLengthGFSK = 0, _syncWordLen = 0, _syncWordMatch = 0, _crcGFSK = 0, _whitening = 0;
+
824 
+
825  // cached FLRC parameters
+
826  uint8_t _crFLRC = 0;
827 
-
828 #endif
+
828  // cached BLE parameters
+
829  uint8_t _connectionState = 0, _crcBLE = 0, _bleTestPayload = 0;
+
830 
+
831  int16_t config(uint8_t modem);
+
832 };
+
833 
+
834 #endif
+
835 
+
836 #endif
SX128x::beginBLE
int16_t beginBLE(float freq=2400.0, uint16_t br=800, float freqDev=400.0, int8_t power=10, uint8_t dataShaping=RADIOLIB_SHAPING_0_5)
Initialization method for BLE modem.
Definition: SX128x.cpp:123
diff --git a/_si4430_8h_source.html b/_si4430_8h_source.html index 39843822..25bf6681 100644 --- a/_si4430_8h_source.html +++ b/_si4430_8h_source.html @@ -114,11 +114,11 @@ $(document).ready(function(){initNavTree('_si4430_8h_source.html',''); initResiz
67  int16_t setOutputPower(int8_t power);
68 
69 
-
70 #ifndef RADIOLIB_GODMODE
+
70 #if !defined(RADIOLIB_GODMODE)
71  protected:
72 #endif
73 
-
74 #ifndef RADIOLIB_GODMODE
+
74 #if !defined(RADIOLIB_GODMODE)
75  private:
76 #endif
77 };
diff --git a/_si4431_8h_source.html b/_si4431_8h_source.html index a4a1ea62..62fea230 100644 --- a/_si4431_8h_source.html +++ b/_si4431_8h_source.html @@ -112,11 +112,11 @@ $(document).ready(function(){initNavTree('_si4431_8h_source.html',''); initResiz
58  int16_t setOutputPower(int8_t power);
59 
60 
-
61 #ifndef RADIOLIB_GODMODE
+
61 #if !defined(RADIOLIB_GODMODE)
62  protected:
63 #endif
64 
-
65 #ifndef RADIOLIB_GODMODE
+
65 #if !defined(RADIOLIB_GODMODE)
66  private:
67 #endif
68 };
diff --git a/_si4432_8h_source.html b/_si4432_8h_source.html index 0deb26b8..e8a6143e 100644 --- a/_si4432_8h_source.html +++ b/_si4432_8h_source.html @@ -114,11 +114,11 @@ $(document).ready(function(){initNavTree('_si4432_8h_source.html',''); initResiz
67  int16_t setOutputPower(int8_t power);
68 
69 
-
70 #ifndef RADIOLIB_GODMODE
+
70 #if !defined(RADIOLIB_GODMODE)
71  protected:
72 #endif
73 
-
74 #ifndef RADIOLIB_GODMODE
+
74 #if !defined(RADIOLIB_GODMODE)
75  private:
76 #endif
77 };
diff --git a/_si443x_8h_source.html b/_si443x_8h_source.html index 958a5989..3d2e42b7 100644 --- a/_si443x_8h_source.html +++ b/_si443x_8h_source.html @@ -701,33 +701,37 @@ $(document).ready(function(){initNavTree('_si443x_8h_source.html',''); initResiz
794 
800  int16_t getChipVersion();
801 
-
802 #ifndef RADIOLIB_GODMODE
+
802 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
803  protected:
804 #endif
805  Module* _mod;
806 
-
807  float _br = 0;
-
808  float _freqDev = 0;
-
809  float _freq = 0;
+
807 #if !defined(RADIOLIB_GODMODE)
+
808  protected:
+
809 #endif
810 
-
811  size_t _packetLength = 0;
-
812  bool _packetLengthQueried = false;
-
813 
-
814  int16_t setFrequencyRaw(float newFreq);
-
815 
-
816 #ifndef RADIOLIB_GODMODE
-
817  private:
-
818 #endif
-
819  bool findChip();
-
820  void clearIRQFlags();
-
821  int16_t config();
-
822  int16_t updateClockRecovery();
-
823  int16_t directMode();
-
824 };
-
825 
-
826 #endif
-
827 
-
828 #endif
+
811  float _br = 0;
+
812  float _freqDev = 0;
+
813  float _freq = 0;
+
814 
+
815  size_t _packetLength = 0;
+
816  bool _packetLengthQueried = false;
+
817 
+
818  int16_t setFrequencyRaw(float newFreq);
+
819 
+
820 #if !defined(RADIOLIB_GODMODE)
+
821  private:
+
822 #endif
+
823  bool findChip();
+
824  void clearIRQFlags();
+
825  int16_t config();
+
826  int16_t updateClockRecovery();
+
827  int16_t directMode();
+
828 };
+
829 
+
830 #endif
+
831 
+
832 #endif
PhysicalLayer::transmit
int16_t transmit(__FlashStringHelper *fstr, uint8_t addr=0)
Arduino Flash String transmit method.
Definition: PhysicalLayer.cpp:8
diff --git a/_x_bee_8h_source.html b/_x_bee_8h_source.html index 23812075..e55cecaf 100644 --- a/_x_bee_8h_source.html +++ b/_x_bee_8h_source.html @@ -135,7 +135,7 @@ $(document).ready(function(){initNavTree('_x_bee_8h_source.html',''); initResiza
76 
82  int16_t setPanId(const char* panId);
83 
-
84 #ifndef RADIOLIB_GODMODE
+
84 #if !defined(RADIOLIB_GODMODE)
85  private:
86 #endif
87  bool enterCmdMode();
@@ -166,31 +166,36 @@ $(document).ready(function(){initNavTree('_x_bee_8h_source.html',''); initResiza
167 
173  int16_t setPanId(uint8_t* panId);
174 
-
175 #ifndef RADIOLIB_GODMODE
-
176  private:
+
175 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
176  protected:
177 #endif
178  Module* _mod;
-
179  uint8_t _frameID = 0x01;
-
180  size_t _frameLength = 0;
-
181  bool _frameHeaderProcessed = false;
-
182 
-
183  #ifdef RADIOLIB_STATIC_ONLY
-
184  char _packetData[RADIOLIB_STATIC_ARRAY_SIZE];
-
185  #else
-
186  char* _packetData = new char[0];
-
187  #endif
-
188  uint8_t _packetSource[8] = {0, 0, 0, 0, 0, 0, 0, 0};
-
189 
-
190  int16_t confirmChanges();
-
191 
-
192  void sendApiFrame(uint8_t type, uint8_t id, const char* data);
-
193  void sendApiFrame(uint8_t type, uint8_t id, uint8_t* data, uint16_t length);
-
194  int16_t readApiFrame(uint8_t frameID, uint8_t codePos, uint16_t timeout = 5000);
-
195 
-
196  uint16_t getNumBytes(uint32_t timeout = 10000, size_t minBytes = 10);
-
197 };
-
198 
-
199 #endif
+
179 
+
180 #if !defined(RADIOLIB_GODMODE)
+
181  protected:
+
182 #endif
+
183 
+
184  uint8_t _frameID = 0x01;
+
185  size_t _frameLength = 0;
+
186  bool _frameHeaderProcessed = false;
+
187 
+
188  #ifdef RADIOLIB_STATIC_ONLY
+
189  char _packetData[RADIOLIB_STATIC_ARRAY_SIZE];
+
190  #else
+
191  char* _packetData = new char[0];
+
192  #endif
+
193  uint8_t _packetSource[8] = {0, 0, 0, 0, 0, 0, 0, 0};
+
194 
+
195  int16_t confirmChanges();
+
196 
+
197  void sendApiFrame(uint8_t type, uint8_t id, const char* data);
+
198  void sendApiFrame(uint8_t type, uint8_t id, uint8_t* data, uint16_t length);
+
199  int16_t readApiFrame(uint8_t frameID, uint8_t codePos, uint16_t timeout = 5000);
+
200 
+
201  uint16_t getNumBytes(uint32_t timeout = 10000, size_t minBytes = 10);
+
202 };
+
203 
+
204 #endif
XBeeSerial::setPanId
int16_t setPanId(const char *panId)
Sets PAN (Personal Area Network) ID. Both XBees must be in the same PAN in order to use transparent m...
Definition: XBee.cpp:276
diff --git a/n_r_f24_8h_source.html b/n_r_f24_8h_source.html index d61d771b..94cc7573 100644 --- a/n_r_f24_8h_source.html +++ b/n_r_f24_8h_source.html @@ -333,22 +333,26 @@ $(document).ready(function(){initNavTree('n_r_f24_8h_source.html',''); initResiz
466 
472  uint8_t random();
473 
-
474 #ifndef RADIOLIB_GODMODE
-
475  private:
+
474 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
475  protected:
476 #endif
477  Module* _mod;
478 
-
479  uint8_t _addrWidth = 0;
-
480 
-
481  int16_t config();
-
482  void clearIRQ();
-
483 
-
484  void SPIreadRxPayload(uint8_t* data, uint8_t numBytes);
-
485  void SPIwriteTxPayload(uint8_t* data, uint8_t numBytes);
-
486  void SPItransfer(uint8_t cmd, bool write = false, uint8_t* dataOut = NULL, uint8_t* dataIn = NULL, uint8_t numBytes = 0);
-
487 };
+
479  void SPIreadRxPayload(uint8_t* data, uint8_t numBytes);
+
480  void SPIwriteTxPayload(uint8_t* data, uint8_t numBytes);
+
481  void SPItransfer(uint8_t cmd, bool write = false, uint8_t* dataOut = NULL, uint8_t* dataIn = NULL, uint8_t numBytes = 0);
+
482 
+
483 #if !defined(RADIOLIB_GODMODE)
+
484  protected:
+
485 #endif
+
486 
+
487  uint8_t _addrWidth = 0;
488 
-
489 #endif
+
489  int16_t config();
+
490  void clearIRQ();
+
491 };
+
492 
+
493 #endif
nRF24::receive
int16_t receive(uint8_t *data, size_t len) override
Blocking binary receive method. Overloads for string-based transmissions are implemented in PhysicalL...
Definition: nRF24.cpp:111