RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
SX1233.h
1#if !defined(_RADIOLIB_SX1233_H)
2#define _RADIOLIB_SX1233_H
3
4#include "../../TypeDef.h"
5
6#if !RADIOLIB_EXCLUDE_SX1231
7
8#include "../../Module.h"
9#include "../RF69/RF69.h"
10#include "SX1231.h"
11
12// RADIOLIB_SX1233 specific register map
13#define RADIOLIB_SX1233_REG_TEST_PLL 0x5F
14
15// RADIOLIB_SX1233_REG_TEST_PLL
16#define RADIOLIB_SX1233_PLL_BW_HIGH_BIT_RATE 0x0C
17#define RADIOLIB_SX1233_PLL_BW_LOW_BIT_RATE 0x08
18
23class SX1233: public SX1231 {
24 public:
29 SX1233(Module* mod); // cppcheck-suppress noExplicitConstructor
30
41 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) override;
42
51 int16_t setBitRate(float br) override;
52
53#if !RADIOLIB_GODMODE
54 private:
55#endif
56
57};
58
59#endif
60
61#endif
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition Module.h:73
Control class for SX1231 module. Overrides some methods from RF69 due to different register values.
Definition SX1231.h:94
Control class for SX1233 module. Overrides some methods from SX1231/RF69 due to different register va...
Definition SX1233.h:23
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:96
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) override
Initialization method.
Definition SX1233.cpp:9