RadioLib Universal wireless communication library for Arduino

SX1280.h
1 #if !defined(_RADIOLIB_SX1280_H)
2 #define _RADIOLIB_SX1280_H
3
4 #include "../../TypeDef.h"
5
6 #if !defined(RADIOLIB_EXCLUDE_SX128X)
7
8 #include "../../Module.h"
9 #include "SX128x.h"
10 #include "SX1281.h"
11
17 class SX1280: public SX1281 {
18 public:
24 SX1280(Module* mod);
25
37 int16_t range(bool master, uint32_t addr, uint16_t calTable[3][6] = NULL);
38
50 int16_t startRanging(bool master, uint32_t addr, uint16_t calTable[3][6] = NULL);
51
57 float getRangingResult();
58
59 #if !defined(RADIOLIB_GODMODE)
60 private:
61 #endif
62
63 };
64
65 #endif
66
67 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
SX1280
Derived class for SX1280 modules.
Definition: SX1280.h:17
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:35
SX1280::getRangingResult
float getRangingResult()
Gets ranging result of the last ranging exchange.
Definition: SX1280.cpp:142
SX1281
Derived class for SX1281 modules.
Definition: SX1281.h:16