[SX126x] Changed default whitening initial value for SX127x/LoRaWAN compatibility (#832)
This commit is contained in:
parent
b817819c60
commit
44bdf0dba4
1 changed files with 4 additions and 4 deletions
|
@ -870,11 +870,11 @@ class SX126x: public PhysicalLayer {
|
||||||
/*!
|
/*!
|
||||||
\brief Sets FSK whitening parameters.
|
\brief Sets FSK whitening parameters.
|
||||||
\param enabled True = Whitening enabled
|
\param enabled True = Whitening enabled
|
||||||
\param initial Initial value used for the whitening LFSR in FSK mode. Defaults to 0x0100,
|
\param initial Initial value used for the whitening LFSR in FSK mode.
|
||||||
use 0x01FF for SX127x compatibility.
|
By default set to 0x01FF for compatibility with SX127x and LoRaWAN.
|
||||||
\returns \ref status_codes
|
\returns \ref status_codes
|
||||||
*/
|
*/
|
||||||
int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
|
int16_t setWhitening(bool enabled, uint16_t initial = 0x01FF);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
|
\brief Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
|
||||||
|
@ -1020,7 +1020,7 @@ class SX126x: public PhysicalLayer {
|
||||||
|
|
||||||
#if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
|
#if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
|
||||||
/*!
|
/*!
|
||||||
\brief Set interrupt service routine function to call when data bit is receveid in direct mode.
|
\brief Set interrupt service routine function to call when data bit is received in direct mode.
|
||||||
\param func Pointer to interrupt service routine.
|
\param func Pointer to interrupt service routine.
|
||||||
*/
|
*/
|
||||||
void setDirectAction(void (*func)(void));
|
void setDirectAction(void (*func)(void));
|
||||||
|
|
Loading…
Add table
Reference in a new issue