14 lines
258 B
C
14 lines
258 B
C
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
* Initialises the RFM95 LoRa radio.
|
||
|
*/
|
||
|
void radio_init();
|
||
|
|
||
|
/**
|
||
|
* Sends a specified message via LoRaWAN.
|
||
|
* @param data The message to send.
|
||
|
* @param length The length of the given message.
|
||
|
*/
|
||
|
void radio_send(byte* data, int length);
|