SX126x-Arduino  2.0.1
Data Structures | Enumerations | Variables
radio.h File Reference

Radio driver API definition. More...

Go to the source code of this file.

Data Structures

struct  RadioEvents_t
 Radio driver callback functions. More...
 
struct  Radio_s
 Radio driver definition. More...
 

Enumerations

enum  RadioModems_t { MODEM_FSK = 0, MODEM_LORA }
 
enum  RadioState_t { RF_IDLE = 0, RF_RX_RUNNING, RF_TX_RUNNING, RF_CAD }
 

Variables

const struct Radio_s Radio
 Radio driver. More...
 

Detailed Description

Radio driver API definition.

______ _
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013-2017 Semtech
Author
Miguel Luis ( Semtech )
Gregory Cristian ( Semtech )

Enumeration Type Documentation

◆ RadioModems_t

Radio driver supported modems

Enumerator
MODEM_FSK 
MODEM_LORA 

◆ RadioState_t

Radio driver internal state machine states definition

Enumerator
RF_IDLE 

The radio is idle.

RF_RX_RUNNING 

The radio is in reception state.

RF_TX_RUNNING 

The radio is in transmission state.

RF_CAD 

The radio is doing channel activity detection.

Variable Documentation

◆ Radio

const struct Radio_s Radio

Radio driver.

Remarks
This variable is defined and initialized in the specific radio board implementation

Radio driver structure initialization

Examples
LoRaWanPio\src\main.cpp, Sensor-Gateway-Deepsleep\LoRa-Gateway\src\main.cpp, and Sensor-Gateway-Deepsleep\LoRa-TempSensor\src\main.cpp.