Workshop demo program

Dependencies:   PinDetect mbed LoRaWAN-lib SX1272Lib

app/main.h

Committer:
sergei11522
Date:
2017-04-12
Revision:
7:d7cdd6804277

File content as of revision 7:d7cdd6804277:

#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();