C027 Interface

Dependencies:   C027_Support(p)

Fork of C027Interface by NetworkSocketAPI

Revision:
19:1527acac8b80
Parent:
18:529fe9a37e0e
--- a/C027Interface.h	Fri Sep 30 13:56:24 2016 +0000
+++ b/C027Interface.h	Mon Oct 03 22:45:57 2016 +0000
@@ -31,7 +31,7 @@
      * @param simpin    Optional PIN for the SIM
      * @param debug     Enable debugging
      */
-    C027Interface(const char *simpin=0, bool debug=true);
+    C027Interface(const char *simpin=0, bool debug=false);
 
     /** Start the interface
      *
@@ -172,6 +172,10 @@
     SocketAddress _ip_address;
     char _mac_address[NSAPI_MAC_SIZE];
     char _pin[sizeof "1234"];
+
+    Thread _thread;
+        void (*_callback)(void *); void *_data;
+      void _run();
 };
 
 #endif