37 #ifndef _LORA_WAPPERS_H_ 38 #define _LORA_WAPPERS_H_ void wakeLoRaWAN(void)
Wake up the LoRaWAN module early after putting it to sleep using sleepLoRaWAN.
Definitions of the custom data-types used.
void sendStormDetected(bool stormDetected)
Send a packet to the cloud using LoRaWAN to indicate that a storm has been detected.
void sendMeasurements(MeasurementData_t data)
Send measured battery voltages and internal and external temperatures to the cloud using LoRaWAN...
void sendCableBroken(bool cableBroken)
Send a packet to the cloud using LoRaWAN to indicate that the cable is broken.
void sendTest(MeasurementData_t data)
Send ONE measured battery voltage, internal and external temperature, stormDetected, cableBroken and status value to the cloud using LoRaWAN. This method uses the deprecated methods to test if the data gets send correctly.
void disableLoRaWAN(void)
Disable LoRaWAN functionality.
void initLoRaWAN(void)
Initialize LoRaWAN functionality.
void sendStatus(uint8_t status)
Send a packet to indicate a status.
void sleepLoRaWAN(uint32_t sSleep)
Let the LoRaWAN module sleep for a specified amount of time.