18 lines
367 B
C
18 lines
367 B
C
#pragma once
|
|
|
|
/**
|
|
* Internal use only. Persists the LMIC frame counters to disk.
|
|
*/
|
|
void transmit_counter_save();
|
|
|
|
/**
|
|
* Initialises the RFM95 LoRa radio.
|
|
*/
|
|
void transmit_init();
|
|
|
|
/**
|
|
* Sends a specified message via LoRaWAN.
|
|
* @param data The message to send.
|
|
* @param length The length of the given message.
|
|
*/
|
|
bool transmit_send(byte* data, int length);
|