Skip to content

Commit

Permalink
[SX123x] Added note about high bit rate mode for SX1233
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Dec 9, 2023
1 parent 57a6a9c commit a30d3da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/SX123x/SX1233.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int16_t SX1233::begin(float freq, float br, float freqDev, float rxBw, int8_t po
bool flagFound = false;
while((i < 10) && !flagFound) {
int16_t version = getChipVersion();
if((version == 0x21) || (version == 0x22) || (version == 0x23)) {
if((version == RADIOLIB_SX123X_CHIP_REVISION_2_A) || (version == RADIOLIB_SX123X_CHIP_REVISION_2_B) || (version == RADIOLIB_SX123X_CHIP_REVISION_2_C)) {
flagFound = true;
this->chipRevision = version;
} else {
Expand Down
2 changes: 2 additions & 0 deletions src/modules/SX123x/SX1233.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class SX1233: public SX1231 {
/*!
\brief Sets bit rate. Allowed values range from 0.5 to 300.0 kbps.
SX1233 also allows 500 kbps and 600 kbps operation.
NOTE: For 500 kbps rate, the receiver frequency should be offset by 50 kHz from the transmitter.
For 600 kbps rate, the receiver frequency should be offset by 40 kHz from the transmitter.
\param br Bit rate to be set in kbps.
\returns \ref status_codes
*/
Expand Down

0 comments on commit a30d3da

Please sign in to comment.