mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
25:5269e8881494
Parent:
24:e706feda4970
Child:
26:b9d74e06b3de
--- a/MBEDEndpoint.cpp	Wed Apr 02 16:09:04 2014 +0000
+++ b/MBEDEndpoint.cpp	Wed Apr 02 18:15:56 2014 +0000
@@ -62,7 +62,7 @@
      this->m_cellular_modem = NULL;
      this->m_gps = NULL;
      if (success) success = this->initializeCellularModem(transport,pinouts);
-     if (success) success = this->initializeGPSReceiver();
+     if (success) success = this->initializeGPSReceiver(pinouts);
 #else
      if (success) success = this->initializeEthernet((EthernetInterface *)transport);
 #endif
@@ -242,11 +242,11 @@
      return success;
  }
  
- bool MBEDEndpoint::initializeGPSReceiver() {
+ bool MBEDEndpoint::initializeGPSReceiver(void *pinouts) {
      bool success = false;
      
      // initialize
-     if (this->m_gps == NULL) this->m_gps = new MBEDUbloxGPS(this->logger(),this);
+     if (this->m_gps == NULL) this->m_gps = new MBEDUbloxGPS(this->logger(),this,(C027  *)pinouts);
      if (this->m_gps != NULL) success = this->m_gps->connect();
      
      // return our status