dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ./ChangeLog System/IO/Ports/SerialPort....


From: Gopal.V
Subject: [dotgnu-pnet-commits] pnetlib ./ChangeLog System/IO/Ports/SerialPort....
Date: Thu, 23 Feb 2006 06:26:09 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Branch:         
Changes by:     Gopal.V <address@hidden>        06/02/23 06:26:09

Modified files:
        .              : ChangeLog 
        System/IO/Ports: SerialPort.cs 
        System/Platform: PortMethods.cs 

Log message:
        RFCOMM support (bluetooth)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/ChangeLog.diff?tr1=1.2361&tr2=1.2362&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/System/IO/Ports/SerialPort.cs.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/System/Platform/PortMethods.cs.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: pnetlib/ChangeLog
diff -u pnetlib/ChangeLog:1.2361 pnetlib/ChangeLog:1.2362
--- pnetlib/ChangeLog:1.2361    Wed Feb 22 12:42:10 2006
+++ pnetlib/ChangeLog   Thu Feb 23 06:26:08 2006
@@ -1,10 +1,21 @@
+
+2006-02-23  Gopal V  <address@hidden>
+
+       * System/Platform/PortMethods.cs, System/IO/Ports/SerialPort.cs: allow
+       RFCOMM<n> resources and add IL_SERIAL_RFCOMM constant.
+
 2006-02-22  Heiko Weiss <address@hidden>
-       samples/forms/FormsTest.cs: Added a really cool sample of drawing path. 
Tab page "Path Tiger".
+
+       * samples/forms/FormsTest.cs: Added a really cool sample of drawing 
path.
+       Tab page "Path Tiger".
 
 2006-02-22  Heiko Weiss <address@hidden>
 
-       * System.Drawing.Xsharp/DrawingPen.cs: fixed X-crash if dash pattern 
has a zero length.
-       * System.Drawing/Drawing2D/GraphicsPath.cs: added filling arc, drawing 
arc path object and more 
+       * System.Drawing.Xsharp/DrawingPen.cs: fixed X-crash if dash pattern has
+       a zero length.
+       
+       * System.Drawing/Drawing2D/GraphicsPath.cs: added filling arc, drawing
+       arc path object and more 
 
 2006-02-21  Gopal V  <address@hidden>
 
Index: pnetlib/System/IO/Ports/SerialPort.cs
diff -u pnetlib/System/IO/Ports/SerialPort.cs:1.7 
pnetlib/System/IO/Ports/SerialPort.cs:1.8
--- pnetlib/System/IO/Ports/SerialPort.cs:1.7   Fri Oct 15 11:40:00 2004
+++ pnetlib/System/IO/Ports/SerialPort.cs       Thu Feb 23 06:26:09 2006
@@ -529,6 +529,17 @@
                                                posn = 6;
                                                type = 
PortMethods.SERIAL_INFRARED;
                                        }
+                                       else if(value.Length > 6 &&
+                                               (value[0] == 'r' || value[0] == 
'R') &&
+                                               (value[1] == 'f' || value[1] == 
'F') &&
+                                               (value[2] == 'c' || value[2] == 
'C') &&
+                                               (value[3] == 'o' || value[3] == 
'O') &&
+                                               (value[4] == 'm' || value[4] == 
'M') &&
+                                               (value[5] == 'm' || value[5] == 
'M'))
+                                       {
+                                               posn = 6;
+                                               type = 
PortMethods.SERIAL_RFCOMM;
+                                       }
                                        else if(value.Length > 3 &&
                                                (value[0] == 'u' || value[0] == 
'U') &&
                                                (value[1] == 's' || value[1] == 
'S') &&
Index: pnetlib/System/Platform/PortMethods.cs
diff -u pnetlib/System/Platform/PortMethods.cs:1.4 
pnetlib/System/Platform/PortMethods.cs:1.5
--- pnetlib/System/Platform/PortMethods.cs:1.4  Fri Oct 15 11:40:00 2004
+++ pnetlib/System/Platform/PortMethods.cs      Thu Feb 23 06:26:09 2006
@@ -49,6 +49,7 @@
        public const int SERIAL_REGULAR         = 0;
        public const int SERIAL_INFRARED        = 1;
        public const int SERIAL_USB                     = 2;
+       public const int SERIAL_RFCOMM          = 3;
 
        // Bits for various serial pins.
        public const int PIN_BREAK                      = (1<<0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]