Fork of my original MQTTGateway

Dependencies:   mbed-http

jsmn/WeatherInfo.h

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

File content as of revision 0:a1734fe1ec4b:

#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