getFrequency implementation

This commit is contained in:
Crsarmv7l 2024-03-26 19:22:53 -04:00 committed by GitHub
parent b91fd2bdad
commit 7d0b3c6640
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -730,6 +730,12 @@ class CC1101: public PhysicalLayer {
*/ */
int16_t setFrequency(float freq); int16_t setFrequency(float freq);
/*!
\brief gets carrier frequency.
\returns the freq currently set
*/
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.