# RadioLib: src/modules/SX128x/SX1280.h Source File

SX1280.h
#if !defined(_RADIOLIB_SX1280_H)
#define _RADIOLIB_SX1280_H
#include "../../TypeDef.h"
#if !RADIOLIB_EXCLUDE_SX128X
#include "../../Module.h"
#include "SX128x.h"
#include "SX1281.h"
class SX1280: public SX1281 {
public:
SX1280(Module* mod); // cppcheck-suppress noExplicitConstructor
int16_t range(bool master, uint32_t addr, uint16_t calTable[3][6] = NULL);
int16_t startRanging(bool master, uint32_t addr, uint16_t calTable[3][6] = NULL);
float getRangingResult();
#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
SX1280
Derived class for SX1280 modules.
Definition: SX1280.h:16
SX1280::SX1280
SX1280(Module *mod)
Default constructor.
Definition: SX1280.cpp:5
SX1280::range
int16_t range(bool master, uint32_t addr, uint16_t calTable[3][6]=NULL)
Blocking ranging method.
Definition: SX1280.cpp:9
SX1280::startRanging
int16_t startRanging(bool master, uint32_t addr, uint16_t calTable[3][6]=NULL)
Interrupt-driven ranging method.
Definition: SX1280.cpp:36
SX1280::getRangingResult
float getRangingResult()
Gets ranging result of the last ranging exchange.
Definition: SX1280.cpp:143
SX1281
Derived class for SX1281 modules.
Definition: SX1281.h:15