https://bugzilla.novell.com/show_bug.cgi?id=688940

https://bugzilla.novell.com/show_bug.cgi?id=688940#c0


           Summary: System.IO.Ports.SerialPort does not acccept
                    non-standard BaudRate
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86
        OS/Version: Kubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: t...@poczta.onet.pl
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101
Firefox/4.0

When running Windows XP there is no problem to set the BaudRate to 7680bps,
while on Linux it causes that nothing is received from the port. On Linux only
standard baud rates do work.

Reproducible: Always

Steps to Reproduce:
0. //Connect a loopback plug to COM-1
1. System.IO.Ports.SerialPort sport = new
System.IO.Ports.SerialPort("/dev/ttyS0");
2. sport.BaudRate = 7680;
3. sport.Open();
4. sport.Write(new byte[] { 0x41 }, 0, 1);
5. char response = (char)sport.ReadByte();
Actual Results:  
response = ''

Expected Results:  
response = 'A'

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to