Go to the source code of this file.
Data Structures | |
struct | SX1272_Config |
SX1272 LoRa configuration struct. More... | |
struct | SX1272_t |
Struct definition for SX1272. Provides the interface for API consumers to interact with the SX1272 LoRa transceiver. More... | |
Enumerations | |
enum | SX1272_Bandwidth |
SX1272 bandwidth enum. More... | |
enum | SX1272_CodingRate |
SX1272 coding rate enum. More... | |
enum | SX1272_SpreadingFactor |
SX1272 spreading factor enum. More... | |
enum | SX1272_Mode |
SX1272 operating mode enum. More... | |
Functions | |
bool | SX1272_init (SX1272_t *lora, SPI_t *spi, GPIOpin_t cs, SX1272_Config *config) |
Initializes the LoRa module with specified configuration parameters. | |
bool | SX1272_updateConfig (SX1272_t *lora, SX1272_Config *config) |
Update SX1272 configuration. | |
void | SX1272_transmit (LoRa_t *lora, uint8_t *data, uint8_t length) |
Transmits data using the SX1272. | |
void | SX1272_startReceive (LoRa_t *lora) |
Begins continuous receive on the SX1272. | |
uint8_t | SX1272_readReceive (LoRa_t *lora, uint8_t *data, uint8_t byffSize) |
Reads contents of received packet to local buffer from the SX1272. | |
void | SX1272_standby (SX1272_t *) |
Sets the operational mode of the LoRa module to standby. | |
void | SX1272_clearIRQ (LoRa_t *, uint8_t) |
Sets the value of RegIrqFlags in the SX1272 to the provided argument value. Writing a 1 to a bit in the register will clear the associated flag. | |