aboutsummaryrefslogtreecommitdiffstats
path: root/binding/afm-weather-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19binding: weather: upgrade binding framework to v3flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.25.99.65.99.55.99.45.99.35.99.2Matt Ranostay1-13/+13
Change-Id: Ib2940cc6aaa3720be8038251370ee79b84794d7d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-12binding: weather: update stats every 15 minutesflounder_5.99.1flounder/5.99.15.99.1Matt Ranostay1-22/+72
To reduce API calls to OpenWeatherMap only update weather stats every 15 minutes. Changes that were required: * add glib-2.0 dependecy * adding rwlock to url data * g_timeout_add_seconds schedules an weather update every 15 minutes Bug-AGL: SPEC-1273 Change-Id: I09b92faf17830f305275dad7f4545cf64ebb43a2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-11binding: weather: trigger weather event on subscribeMatt Ranostay1-0/+8
Send current weather data to any new subscribers Bug-AGL: SPEC-1273 Change-Id: I96c92ba7e469a5cdc13c48694f1b0f2a42752b74 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-11binding: weather: add initial openweathermap bindingMatt Ranostay1-0/+264
Bug-AGL: SPEC-1273 Change-Id: Idf6f12148df840ad8cfe2c1bc8eb35c1bc759876 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>