mbed Phone Platform

Dependencies:   ulaw mbed ConfigFile

Revision:
6:bd62b12de751
Parent:
5:30e2847d241b
--- a/IpLine.h	Thu Jan 20 13:50:10 2011 +0000
+++ b/IpLine.h	Fri Jan 21 16:06:15 2011 +0000
@@ -25,7 +25,7 @@
  */
 class IpLine {
 public:
-    IpLine (AnalogOut, AnalogIn);
+    IpLine (EthernetNetIf *, AnalogOut, AnalogIn);
 
     void intr ();
     void poll ();
@@ -34,10 +34,10 @@
     void settarget (enum PhoneType, char *);
 
 private:
-    enum PhoneType remotetarget;
-    enum Mode mode;
-    enum Status status;
-    int hook, packet_num, dataskip, timeout, dialconut;
+    volatile enum PhoneType remotetarget;
+    volatile enum Mode mode;
+    volatile enum Status status;
+    volatile int hook, packet_num, dataskip, timeout, dialconut, wait, timerled;
     EthernetNetIf *eth;
     UDPSocket *udpsock;
     Host remote;