aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/SimpleWeatherService.h
Commit message (Collapse)AuthorAgeFilesLines
* Simple Weather ServiceJean-François Milants2023-12-231-2/+3
| | | | Fix code formatting.
* Simple Weather ServiceJean-François Milants2023-12-231-8/+8
| | | | Store temperatures as int16_t (instead of uint8_t previously). The temperature is expressed in °C * 100.
* Simple Weather ServiceJean-François Milants2023-12-231-7/+7
| | | | Code improvements : icon fields are now typed as Icons, move the location string when creating a new instance of CurrentWeather, fix SimpleWeatherService::CurrentWeather::operator== (location was missing from the comparison).
* Simple Weather Service - code cleaning and improvementsJean-François Milants2023-12-231-1/+0
| | | | | | | Add missing icons (heavy clouds, thunderstorm, snow). Remove unneeded comparison operator (!=), improve conversion of Timestamp and MessageType, order includes. Fix typo in documentation. Remove not related change in StopWatch.
* Simple Weather Service : fix out of bounds access while creating Forecast ↵Jean-François Milants2023-12-231-1/+3
| | | | instance.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-15/+23
| | | | Fix recovery firmware and code formatting.
* SimpleWeather service : new weather implementationJean-François Milants2023-12-231-0/+131
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.