From 9e079c85c09688e22f04800ec391d2c3c845ea70 Mon Sep 17 00:00:00 2001 From: Crsarmv7l <85343771+Crsarmv7l@users.noreply.github.com> Date: Wed, 27 Mar 2024 01:34:35 -0400 Subject: [PATCH] CalcRxBandwidth(); --- src/modules/CC1101/CC1101.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/modules/CC1101/CC1101.h b/src/modules/CC1101/CC1101.h index 4b9a3f90..dabc1a2a 100644 --- a/src/modules/CC1101/CC1101.h +++ b/src/modules/CC1101/CC1101.h @@ -758,6 +758,14 @@ class CC1101: public PhysicalLayer { */ int16_t setRxBandwidth(float rxBw); + /*! + \brief calculates and sets Rx bandwidth based on the freq, baud and freq uncertainty. + \Reimplement of atlas0fd00m (RfCat) CalculatePktChanBw function. + \Modified for worse ppm with the CC1101, and adjusted for the supportted CC1101 bw. + \returns \ref status_codes + */ + int16_t CalcRxBandwidth(); + /*! \brief Sets frequency deviation. Allowed values range from 1.587 to 380.8 kHz. \param freqDev Frequency deviation to be set in kHz.