Changes for pull 2

This commit is contained in:
Crsarmv7l 2024-03-27 17:37:10 -04:00 committed by GitHub
parent c40da39a45
commit 49e140b445
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -730,12 +730,6 @@ class CC1101: public PhysicalLayer {
*/ */
int16_t setFrequency(float freq); int16_t setFrequency(float freq);
/*!
\brief gets carrier frequency.
\returns the freq currently set in Mhz
*/
float getFrequency();
/*! /*!
\brief Sets bit rate. Allowed values range from 0.025 to 600.0 kbps. \brief Sets bit rate. Allowed values range from 0.025 to 600.0 kbps.
\param br Bit rate to be set in kbps. \param br Bit rate to be set in kbps.
@ -743,13 +737,6 @@ class CC1101: public PhysicalLayer {
*/ */
int16_t setBitRate(float br); int16_t setBitRate(float br);
/*!
\brief gets the currently set bit rate.
\returns the bit rate in kbps
*/
float getBitRate();
/*! /*!
\brief Sets receiver bandwidth. Allowed values are 58, 68, 81, 102, 116, 135, 162, \brief Sets receiver bandwidth. Allowed values are 58, 68, 81, 102, 116, 135, 162,
203, 232, 270, 325, 406, 464, 541, 650 and 812 kHz. 203, 232, 270, 325, 406, 464, 541, 650 and 812 kHz.
@ -760,11 +747,11 @@ class CC1101: public PhysicalLayer {
/*! /*!
\brief calculates and sets Rx bandwidth based on the freq, baud and freq uncertainty. \brief calculates and sets Rx bandwidth based on the freq, baud and freq uncertainty.
\Reimplement of atlas0fd00m (RfCat) CalculatePktChanBw function. Reimplement of atlas0fd00m's (RfCat) CalculatePktChanBw function.
\Modified for worse ppm with the CC1101, and adjusted for the supportted CC1101 bw. Modified for worse ppm with the CC1101, and adjusted for the supportted CC1101 bw.
\returns \ref status_codes \returns \ref status_codes
*/ */
int16_t CalcRxBandwidth(); int16_t autoSetRxBandwidth();
/*! /*!
\brief Sets frequency deviation. Allowed values range from 1.587 to 380.8 kHz. \brief Sets frequency deviation. Allowed values range from 1.587 to 380.8 kHz.