Get weather Information

Revision:
1:8655f1720450
Parent:
0:6d53d6d34ac3
Child:
2:76b812680942
--- a/WeatherInfo.cpp	Sat Jun 27 10:34:38 2015 +0000
+++ b/WeatherInfo.cpp	Sun Jun 28 00:17:02 2015 +0000
@@ -10,11 +10,17 @@
  
 WeatherInfo::~WeatherInfo(){ } ;
 
+void WeatherInfo::setBuff(char *buff, int size)
+{
+    recvBuff = buff ;
+    recvSize = size ;
+}
+
 bool WeatherInfo::getInfo(void)
 {
     switch(source) {
     case WEATHER_HACKS: 
-        WH_getInfo() ; 
+        WH_getInfo(recvBuff, recvSize) ; 
         break ;
     default:
         return false ;