Fork of my MQTTGateway
Embed:
(wiki syntax)
Show/hide line numbers
WeatherInfo.h
00001 #ifndef _WEATHER_INFO_H_ 00002 #define _WEATHER_INFO_H_ 00003 00004 #include "jsmn.h" 00005 #include <string> 00006 00007 typedef struct { 00008 00009 std::string weather; 00010 std::string icon; 00011 00012 float temperature; 00013 float pressure; 00014 float humidity; 00015 } WeatherInfo, *pWeatherInfo; 00016 00017 int parseweatherinfo(const char * jsonstring, WeatherInfo &); 00018 00019 #endif
Generated on Tue Jul 12 2022 21:46:34 by
1.7.2