Workshop demo program

Dependencies:   PinDetect mbed LoRaWAN-lib SX1272Lib

app/main.h

Committer:
Brandond200
Date:
2017-05-03
Revision:
19:31fc997c460b
Parent:
7:d7cdd6804277

File content as of revision 19:31fc997c460b:

#include <stdint.h>

/**
 * Sets the stream of data to send over lorawan
 * @param data Array of data to send over. Must be under 64 bytes long
 * @param data_size Size of the aforementioned array
 */
void setDataToSend(uint8_t* data, uint16_t data_size);

/**
 * Sends down the last prepared lora frame in the downlink
 */
bool sendLoraTransmission();