RadioLib
Universal wireless communication library for Arduino
Loading...
Searching...
No Matches
Si4431.h
1#if !defined(_RADIOLIB_SI4431_H)
2#define _RADIOLIB_SI4431_H
3
4#include "../../TypeDef.h"
5
6#if !RADIOLIB_EXCLUDE_SI443X
7
8#include "../../Module.h"
9#include "Si4432.h"
10
15class Si4431: public Si4432 {
16 public:
17
18 // constructor
19
24 Si4431(Module* mod); // cppcheck-suppress noExplicitConstructor
25
26 // basic methods
27
38 int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16) override;
39
40 // configuration methods
41
47 int16_t setOutputPower(int8_t power) override;
48
49#if !RADIOLIB_GODMODE
50 protected:
51#endif
52
53#if !RADIOLIB_GODMODE
54 private:
55#endif
56};
57
58#endif
59
60#endif
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition Module.h:73
Derived class for Si4431 modules.
Definition Si4431.h:15
int16_t begin(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=181.1, int8_t power=10, uint8_t preambleLen=16) override
Initialization method. Must be called at least once from Arduino sketch to initialize the module.
Definition Si4431.cpp:8
int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values range from -8 to 13 dBm in 3 dBm steps.
Definition Si4431.cpp:24
Derived class for Si4432 modules.
Definition Si4432.h:15