getBitRate

This commit is contained in:
Crsarmv7l 2024-03-27 00:12:40 -04:00 committed by GitHub
parent 294577cc6e
commit 8dd4f63155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -732,7 +732,7 @@ class CC1101: public PhysicalLayer {
/*! /*!
\brief gets carrier frequency. \brief gets carrier frequency.
\returns the freq currently set \returns the freq currently set in Mhz
*/ */
float getFrequency(); float getFrequency();
@ -743,6 +743,13 @@ 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.