kopia lustrzana https://github.com/jgromes/RadioLib
[SX126x] Added data encoding method
rodzic
c06d292bd2
commit
4fa214a0fd
|
@ -1124,6 +1124,10 @@ int16_t SX126x::setRegulatorDCDC() {
|
|||
return(setRegulatorMode(SX126X_REGULATOR_DC_DC));
|
||||
}
|
||||
|
||||
int16_t SX126x::setEncoding(uint8_t encoding) {
|
||||
return(setWhitening(encoding));
|
||||
}
|
||||
|
||||
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
|
||||
// set mode to standby
|
||||
standby();
|
||||
|
|
|
@ -833,6 +833,16 @@ class SX126x: public PhysicalLayer {
|
|||
\returns \ref status_codes
|
||||
*/
|
||||
int16_t setRegulatorDCDC();
|
||||
|
||||
/*!
|
||||
\brief Sets transmission encoding. Available in FSK mode only. Serves only as alias for PhysicalLayer compatibility.
|
||||
|
||||
\param encoding Encoding to be used. Set to 0 for NRZ, and 2 for whitening.
|
||||
|
||||
\returns \ref status_codes
|
||||
*/
|
||||
int16_t setEncoding(uint8_t encoding);
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
protected:
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue