This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <LoRa.h> | |
#include <Console.h> | |
#include <Process.h> | |
#define PABOOST true | |
#define BAND 433E6 | |
void uploadData(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#The following code demonstrates a sending mqtt messages with data variables | |
# publish to topic yhtest with message data from LoRa | |
#$1 refers to the first data sent from the arduino MCU to the Linux module in the LG01-P ( data sent from ESP32 LoRa ) | |
DATA=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <LoRa.h> | |
#include <Console.h> | |
#include <Process.h> | |
#define PABOOST true | |
#define BAND 433E6 | |
void uploadData(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//References | |
//https://jsonlint.com/ | |
//https://forums.aws.amazon.com/thread.jspa?threadID=239208 | |
//https://arduinojson.org/assistant/ | |
//https://arduinojson.org/faq/how-to-reuse-a-jsonbuffer/?utm_source=github&utm_medium=issues | |
//https://github.com/bblanchon/ArduinoJson/issues/508 | |
//https://github.com/bblanchon/ArduinoJson/blob/master/examples/StringExample/StringExample.ino | |
//https://github.com/bblanchon/ArduinoJson/tree/master/examples/JsonGeneratorExample | |
#include <ArduinoJson.h> |
OlderNewer