# RadioLib: src/modules/SX123x/SX1233.h Source File

SX1233.h
#if !defined(_RADIOLIB_SX1233_H)
#define _RADIOLIB_SX1233_H
#include "../../TypeDef.h"
#if !RADIOLIB_EXCLUDE_SX1231
#include "../../Module.h"
#include "../RF69/RF69.h"
#include "SX1231.h"
// RADIOLIB_SX1233 specific register map
#define RADIOLIB_SX1233_REG_TEST_PLL 0x5F
// RADIOLIB_SX1233_REG_TEST_PLL
#define RADIOLIB_SX1233_PLL_BW_HIGH_BIT_RATE 0x0C
#define RADIOLIB_SX1233_PLL_BW_LOW_BIT_RATE 0x08
class SX1233: public SX1231 {
public:
SX1233(Module* mod); // cppcheck-suppress noExplicitConstructor
int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint8_t preambleLen = 16);
int16_t setBitRate(float br) override;
#if !RADIOLIB_GODMODE
private:
#endif
};
#endif
#endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:68
SX1231
Control class for SX1231 module. Overrides some methods from RF69 due to different register values.
Definition: SX1231.h:93
SX1233
Control class for SX1233 module. Overrides some methods from SX1231/RF69 due to different register va...
Definition: SX1233.h:23
SX1233::begin
int16_t begin(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=125.0, int8_t power=10, uint8_t preambleLen=16)
Initialization method.
Definition: SX1233.cpp:9
SX1233::SX1233
SX1233(Module *mod)
Default constructor.
Definition: SX1233.cpp:5
SX1233::setBitRate
int16_t setBitRate(float br) override
Sets bit rate. Allowed values range from 0.5 to 300.0 kbps. SX1233 also allows 500 kbps and 600 kbps ...
Definition: SX1233.cpp:93