Fork of my MQTTGateway

Dependencies:   mbed-http

jsmn/WeatherInfo.h

Committer:
vpcola
Date:
2017-04-08
Revision:
0:f1d3878b8dd9

File content as of revision 0:f1d3878b8dd9:

#ifndef _WEATHER_INFO_H_
#define _WEATHER_INFO_H_

#include "jsmn.h"
#include <string>

typedef struct {
    
    std::string weather;
    std::string icon;
    
    float temperature;
    float pressure;
    float humidity;    
} WeatherInfo, *pWeatherInfo;

int parseweatherinfo(const char * jsonstring, WeatherInfo &);

#endif