| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Also only iterate over the number of days actually in use, rather than
MaxNbForecastDays.
|
| | |
|
| |
|
|
|
|
|
| |
There is now a Temperature struct in the weather service, which holds
the internal representation. There is also a temperature struct in the
Applications namespace, which holds the temperature in either Celsius or
Fahrenheit.
|
| | |
|
| |
|
|
| |
Any screen that relies on DirtyValue to display up-to-date forecast data
would require the struct to provide an operator override for comparison.
|
| |
|
|
|
| |
In the documentation, specify that the timestamp is expressed in seconds from epoch (instead of nanoseconds).
SimpleWeatherService now uses "localtime" (GetCurrentDateTime()) instead of UTC time.
|
| |
|
|
|
| |
Fix ToUInt64() in SimpleWeatherService.cpp.
Fix typo in SimpleWeatherService.md.
|
| |
|
|
| |
Fix code formatting.
|
| |
|
|
| |
Store temperatures as int16_t (instead of uint8_t previously). The temperature is expressed in °C * 100.
|
| |
|
|
| |
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).
|
| |
|
|
|
| |
Remove unused Weather debug app.
Fix formatting in SimpleWeatherService.cpp.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
| |
instance.
|
| |
|
|
| |
Fix recovery firmware and code formatting.
|
|
|
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.
|