1
0

Refactor MqttVerticle and GPS implementations: add stop method, update GPS serial handling, and improve WiFi connection logic with LED feedback

This commit is contained in:
Jose
2025-05-08 07:24:28 +02:00
parent 383202709e
commit 5665cb3e5e
8 changed files with 98 additions and 31 deletions

View File

@@ -1,8 +1,5 @@
#include "TinyGPSPlus.h"
#define RX 26
#define TX 14
struct GPSData_t
{
float lat;

View File

@@ -1,7 +1,7 @@
#include <WiFi.h>
#include <PubSubClient.h>
#define SSID "iPhone de Álvaro"
#define PASSWORD "alvarito123"
#define SSID "DIGIFIBRA-D2ys"
#define PASSWORD "4EEATsyTcZ"
int setupWifi();

View File

@@ -9,6 +9,8 @@
#define GPS_ID 3
#define MAX7219_ID 1
#define DEBUG
#include "JsonTools.hpp"
#include "RestClient.hpp"
#include "WifiConnection.hpp"