Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 RESULUTS 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. | |
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 | ( | ) | 
| uint8_t getSpreadingFactor | ( | ) | 
| uint8_t getTxPowerdBm | ( | ) | 
| void init | ( | LORA_MODE | desiredMode ) | 
| void ping | ( | ) | 
| int32_t recv | ( | std::vector< uint8_t > & | receivedData ) | 
Generated on Tue Jul 12 2022 20:10:02 by
 1.7.2
 1.7.2 
    