fixed device 5 issue and changed filenames

This commit is contained in:
Timm Bogner 2022-05-23 09:46:54 -05:00
parent feb09755d2
commit 2669fac3cb
5 changed files with 12 additions and 15 deletions

View File

@ -48,13 +48,13 @@ void setup() {
delay(10);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
DBG("Connecting to Wifi...");
DBG("Connecting to WiFi...");
delay(500);
}
DBG("WiFi Connected");
client.setServer(mqtt_server, 1883);
if (!client.connected()) {
DBG("Connecting mqtt...");
DBG("Connecting MQTT...");
reconnect();
}
DBG("MQTT Connected");
@ -71,8 +71,8 @@ void setup() {
}
DBG(" LoRa initialized.");
#endif
// UART_IF.println(sizeof(DataReading));
//DBG(sizeof(DataReading));
client.publish(TOPIC_STATUS, "FDRS initialized");
}

View File

@ -0,0 +1,2 @@
Please copy this directory into your Arduino "libraries" directory.
Edit the "fdrs_credentials.h" with your WiFi info, LoRa band, etc.

View File

@ -0,0 +1,6 @@
#define my_SSID ""
#define my_PASSWORD ""
#define my_MQTT_BROKER "192.168.0.203"
#define my_BAND 433.2E6
#define my_SF 7

View File

@ -1,11 +0,0 @@
Please copy the "FDRS_common_files" directory to your Arduino library directory
add a file "FDRScredentials.h" to this directory with this content:
#define my_SSID ""
#define my_PASSWORD ""
#define my_MQTT_BROKER "192.168.0.203"
#define my_BAND 433.2E6
#define my_SF 7
Fill in your stuff and save it