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:
14:717372430717
Parent:
13:66f6cf705184
Child:
15:363a3299e41a
--- a/MBEDEndpoint.h	Mon Mar 31 18:14:23 2014 +0000
+++ b/MBEDEndpoint.h	Mon Mar 31 18:47:19 2014 +0000
@@ -20,7 +20,7 @@
 #define _MBED_ENDPOINT_H_
 
 // Ethernet Interface
-#include "EthernetInterface.h"
+//DMA #include "EthernetInterface.h"
 
 // BaseClass support
 #include "BaseClass.h"
@@ -46,7 +46,7 @@
   
 class MBEDEndpoint : public BaseClass {
     private:
-        EthernetInterface    *m_ethernet;                                  // ethernet interface
+        void     *m_ethernet;                                  // ethernet interface
         Transport            *m_transports[NUM_TRANSPORTS];                // our transport
         Personality          *m_personalities[NUM_PERSONALITY_INSTANCES];  // our personality instances (at least 1)
         char                  m_endpoint_name[PERSONALITY_NAME_LEN+1];     // our endpoint name (personality[0])
@@ -57,7 +57,7 @@
         int                   m_instance_id;                               // instance ID for this endpoint
          
     public:
-        MBEDEndpoint(ErrorHandler *error_handler,EthernetInterface *ethernet);
+        MBEDEndpoint(ErrorHandler *error_handler,void *ethernet);
         virtual ~MBEDEndpoint();
         ResourceFactory *initResourceFactory();
         void run();
@@ -98,8 +98,8 @@
         bool closeTransport(int index,char *key);
         bool closeTransports();
 
-        bool initializeEthernet(EthernetInterface *ethernet);
-        bool closeEthernet(); 
+       // bool initializeEthernet(EthernetInterface *ethernet);
+       // bool closeEthernet(); 
 };
 
 #endif // _MBED_ENDPOINT_H_