# RadioLib: src/modules/Si443x/Si4430.h Source File

Si4430.h
#if !defined(_RADIOLIB_SI4430_H)
#define _RADIOLIB_SI4430_H
#include "../../TypeDef.h"
#if !RADIOLIB_EXCLUDE_SI443X
#include "../../Module.h"
#include "Si4432.h"
class Si4430: public Si4432 {
public:
// constructor
Si4430(Module* mod); // cppcheck-suppress noExplicitConstructor
// basic methods
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);
// configuration methods
int16_t setFrequency(float freq) override;
int16_t setOutputPower(int8_t power) override;
#if !RADIOLIB_GODMODE
protected:
#endif
#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:65
Si4430
Derived class for Si4430 modules.
Definition: Si4430.h:15
Si4430::setFrequency
int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values range from 900.0 MHz to 960.0 MHz.
Definition: Si4430.cpp:24
Si4430::begin
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)
Initialization method. Must be called at least once from Arduino sketch to initialize the module.
Definition: Si4430.cpp:8
Si4430::setOutputPower
int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values range from -8 to 13 dBm in 3 dBm steps.
Definition: Si4430.cpp:31
Si4430::Si4430
Si4430(Module *mod)
Default constructor.
Definition: Si4430.cpp:4
Si4432
Derived class for Si4432 modules.
Definition: Si4432.h:15