Disable FEC by default, enable 32-bit sync word

This commit is contained in:
Ilya Kuznetsov 2022-11-29 15:26:40 +05:00
parent 8505892bff
commit 3ecb6fee10

View file

@ -872,7 +872,7 @@ class CC1101: public PhysicalLayer {
\returns \ref status_codes
*/
int16_t setForwardErrorCorrection(bool enable = true);
int16_t setForwardErrorCorrection(bool enable = false);
/*!
\brief Enable sync word filtering and generation.
@ -885,7 +885,7 @@ class CC1101: public PhysicalLayer {
\returns \ref status_codes
*/
int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0, bool requireCarrierSense = false, bool repeatSyncWord);
int16_t enableSyncWordFiltering(uint8_t maxErrBits = 0, bool requireCarrierSense = false, bool repeatSyncWord = true);
/*!
\brief Disable preamble and sync word filtering and generation.