nsp specific components for the NSP version of the impact endpoint

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

Revision:
21:272df0444756
Parent:
20:def10d2d9273
Child:
22:0f2a0269ce6d
--- a/MBEDEndpoint.cpp	Tue Jul 01 04:21:14 2014 +0000
+++ b/MBEDEndpoint.cpp	Tue Jul 01 19:29:55 2014 +0000
@@ -33,7 +33,7 @@
  extern void closedown(int code);
   
  // default constructor
- MBEDEndpoint::MBEDEndpoint(ErrorHandler *error_handler,void *transports,void *extra) : BaseClass(error_handler,NULL) {
+ MBEDEndpoint::MBEDEndpoint(ErrorHandler *error_handler,void *transport,void *extra) : BaseClass(error_handler,NULL) {
      bool success = true;
      this->m_preferences = NULL;
      this->m_instance_id = 0;
@@ -56,11 +56,11 @@
      this->m_cellular_modem = NULL;
      this->m_gps = NULL;
      this->logger()->log("initializing Cellular Modem...");
-     if (success) success = this->initializeCellularModem(this->logger(),transports);
+     if (success) success = this->initializeCellularModem(transport);
      //this->logger()->log("initializing GPS Receiver...");
      //if (success) success = this->initializeGPSReceiver(this,extra);
 #else
-     if (success) success = this->initializeEthernet((EthernetInterface *)transports);
+     if (success) success = this->initializeEthernet((EthernetInterface *)transport);
 #endif
      if (success) this->logger()->turnLEDYellow();
      this->logger()->log("initializing transports...");
@@ -211,7 +211,7 @@
  }
  
  #ifdef CELLULAR_NETWORK
-  bool MBEDEndpoint::initializeCellularModem(void *transport,void *modem) {
+  bool MBEDEndpoint::initializeCellularModem(void *modem) {
      bool success = false;
      
      // initialize