FIAP (IEEE1888) library
Dependents: Fetch_IEEE1888_Storage IEEE1888_MULTI_SENSOR_GW
Fork of FiapV2 by
Diff: fiap.cpp
- Revision:
- 7:cc924e783dff
- Parent:
- 6:52e95ea60ec1
- Child:
- 8:0b203716e92b
--- a/fiap.cpp Wed Aug 22 02:20:31 2012 +0000 +++ b/fiap.cpp Sun Sep 30 07:40:51 2012 +0000 @@ -6,7 +6,7 @@ #include "spxmlhandle.hpp" char outBuffer[1500+1]= {0}; -char _soap_text[800]; +char _soap_text[1500]; char uuid[37]; // HTTPClient http; // HTTPText InData("text/html", 800); @@ -345,7 +345,7 @@ { HTTPClient http; int i; - char rstr[800]; + char rstr[1200]; char requestBuffer[50]; post_xml_initialize(); strcpy(_soap_text,_soap_header); @@ -372,7 +372,7 @@ // http.setRequestHeader("SOAPAction","\"http://soap.fiap.org/data\""); // InData=new HTTPText(); HTTPText InData(_soap_text); - HTTPText OutData(rstr,800); + HTTPText OutData(rstr,1200); HTTPResult r = http.postXML(_fiap_storage,"http://soap.fiap.org/data",InData,&OutData); if(!r) { if (debug_mode)printf("Success \n");