diff --git a/src/modules/SX123x/SX1233.cpp b/src/modules/SX123x/SX1233.cpp index 6a481046..c13d5e39 100644 --- a/src/modules/SX123x/SX1233.cpp +++ b/src/modules/SX123x/SX1233.cpp @@ -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 { diff --git a/src/modules/SX123x/SX1233.h b/src/modules/SX123x/SX1233.h index b8f078ef..c6f11d3f 100644 --- a/src/modules/SX123x/SX1233.h +++ b/src/modules/SX123x/SX1233.h @@ -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 */