ESP8266 / ESP8266NodeMCUInterface

Dependencies:   BufferedSerial

Dependents:   esp8266_nodeMCU1 esp8266_2_thingspeak1 Solarator_0-0-2 IoTBurglar_and_Fire_AlarmSystem ... more

Fork of ESP8266Interface by ESP8266

Revision:
30:c035696b9397
Parent:
16:3f0efaa57a12
Child:
31:fd0eaf273b11
--- a/Socket/Endpoint.h	Tue Apr 28 20:17:51 2015 +0000
+++ b/Socket/Endpoint.h	Wed Apr 29 22:43:03 2015 +0000
@@ -55,10 +55,16 @@
     \return The port of this endpoint
      */
     int get_port(void);
+    
+    /** Get the id of this endpoint
+    \return The id of this endpoint
+     */
+    int get_id(void);
 
 protected:
     char _ipAddress[16];
     int _port;
+    int _id = -1;
     
     ESP8266 * ESP8266;
 };