SRK Version of mDot LoRa_Sensormode_SRK
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
LoRa Class Reference
Represents the LoRa Module with all its functionality. More...
#include <LoRa.h>
Public Member Functions | |
void | init (LORA_MODE desiredMode) |
Initializes and start the LoRa Module depending on the desireMode. | |
int32_t | send (std::vector< uint8_t > &dataToSend) |
Sends data stored inside a vector via LoRa. | |
int32_t | recv (std::vector< uint8_t > &receivedData) |
Receives data via LoRa and stores it inside a vector. | |
int16_t | getLastRssi () |
Gets the Rssi of the last sent Message. | |
int16_t | getLastSnr () |
DON'T USE IT RESULTS IN HARDFAULT! Gets the SNR of the last sent Message. | |
uint8_t | getSpreadingFactor () |
Gets the actual spreading Factor from 7 to 12 from the LoRa Module. | |
uint8_t | getTxPowerdBm () |
Gets the actual transmit Power in dBm from the LoRa Module. | |
void | ping () |
Sends a 0 Byte long ping message to the gateway. | |
uint32_t | getNextTxMs () |
Get ms until next free channel only applicable for European models, US models return 0. |
Detailed Description
Represents the LoRa Module with all its functionality.
It wraps Multitech owns mDot Library functions. It's possible to wrap other functionality from other LoRa Module Manufactures for future use cases
Definition at line 20 of file LoRa.h.
Member Function Documentation
int16_t getLastRssi | ( | ) |
int16_t getLastSnr | ( | ) |
uint32_t getNextTxMs | ( | ) |
uint8_t getSpreadingFactor | ( | ) |
uint8_t getTxPowerdBm | ( | ) |
void init | ( | LORA_MODE | desiredMode ) |
void ping | ( | ) |
int32_t recv | ( | std::vector< uint8_t > & | receivedData ) |
Generated on Wed Jul 13 2022 09:23:48 by 1.7.2