aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Weather.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-12-09 20:39:08 +0100
committerJF <JF002@users.noreply.github.com>2023-12-23 21:12:25 +0100
commitc94a59e7d3e0f9929171263412033a56872c168a (patch)
treef9e3d4c1915b91f57ff8d96b18e10f0fbb998aa4 /src/displayapp/screens/Weather.cpp
parent088082d32db483ac5326bed09d5d47847fb5bf9b (diff)
SimpleWeather service : new weather implementation
This new implementation of the weather feature provides a new BLE API and a new weather service. The API uses a single characteristic that allows companion apps to write the weather conditions (current and forecast for the next 5 days). The SimpleWeather service exposes those data as std::optional fields. This new implementation replaces the previous WeahterService. The API is documented in docs/SimpleWeatherService.md.
Diffstat (limited to 'src/displayapp/screens/Weather.cpp')
-rw-r--r--src/displayapp/screens/Weather.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/Weather.cpp b/src/displayapp/screens/Weather.cpp
index 4921174c..dfeb1d41 100644
--- a/src/displayapp/screens/Weather.cpp
+++ b/src/displayapp/screens/Weather.cpp
@@ -17,7 +17,7 @@
*/
#include "Weather.h"
#include <lvgl/lvgl.h>
-#include <components/ble/weather/WeatherService.h>
+#include <components/ble/weather/SimpleWeatherService.h>
#include "Label.h"
#include "components/battery/BatteryController.h"
#include "components/ble/BleController.h"