Velocet/iown-homecontrol

Bitrate and freqdev should be in kbps and kHz

leobel96 opened this issue ยท 4 comments

From

io_home_fskrate.fsk.bitRate = 38400;

and
io_home_fskrate.fsk.freqDev = 19200;

the values should be 38.4 and 19.2

Why use a higher unit which needs floats instead of this simple define?

Define? I'm just saying that, from the Radiolib documentation:

struct FSKRate_t {
  /*! \brief FSK bit rate in kbps */
  float bitRate;
  
  /*! \brief FS frequency deviation in kHz*/
  float freqDev;
};

So, considering that you want 38.4kbps and 19.2kHz the values should be 38.4 and 19.2

You are totally right! Shame on me! Will be fixed with the next bigger code commit.

Thank you for finding and correcting me ๐Ÿ‘๐Ÿป

No problem :)