Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
177:fa93eacedd3d
Parent:
176:3c86e0cf7e21
Child:
179:35e88daf2d75
--- a/main.cpp	Fri Aug 29 03:41:01 2014 +0000
+++ b/main.cpp	Fri Aug 29 04:23:02 2014 +0000
@@ -73,6 +73,9 @@
  ErrorHandler *error_handler = NULL;
  MBEDEndpoint *endpoint = NULL;
  
+ // HTTP support
+ HTTPClient _http;
+ 
  #if SF_STATUS_REPORTING
     // include Saleforce status reporting
     #include "StatusReporter.h"
@@ -144,7 +147,7 @@
     error_handler = new ErrorHandler(&pc,&lcd);
     
 #if SF_STATUS_REPORTING
-    StatusReporter status_reporter(error_handler);
+    StatusReporter status_reporter(error_handler,(void *)&_http);
     sf_status_reporter = (void *)&status_reporter;
 #endif