[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tini
Subject:    Re: [TINI] (commapi) ReceiveThreshold() and ReceiveTimeout()
From:       "Thomas Chenot" <tom.chenot () dalsemi ! com>
Date:       2000-01-27 19:13:30
[Download RAW message or body]

Andre,

> And for (external) serial2 and 3 ?
>The getBaudRate() returns 6 .. (was set to 9600 as shown down) ..
>(all works well on PC)

This is a carry over from the deprecated
com.dalsemi.comm.SerialPort class.

These are the values defined in this class are:

/** Baud Rate 300 bps
      */
    public static final int SPEED_300 = 1;
    /** Baud Rate 600 bps
      */
    public static final int SPEED_600 = 2;
    /** Baud Rate 1200 bps
      */
    public static final int SPEED_1200 = 3;
    /** Baud Rate 2400 bps
      */
    public static final int SPEED_2400 = 4;
    /** Baud Rate 4800 bps
      */
    public static final int SPEED_4800 = 5;
    /** Baud Rate 9600 bps
      */
    public static final int SPEED_9600 = 6;
    /** Baud Rate 19200 bps
      */
    public static final int SPEED_19200 = 7;
    /** Baud Rate 38400 bps
      */
    public static final int SPEED_38400 = 8;
    /** Baud Rate 57600 bps
      */
    public static final int SPEED_57600 = 9;
    /** Baud Rate 115200 bps
      */
    public static final int SPEED_115200 = 10;

This will be corrected in future releases to conform to the javax.comm
specification.

Tom
---
Tom Chenot
Senior Design Engineer
Dallas Semiconductor
http://www.iButton.com
---


-----------------------------------------------------------------------------
This message brought to you by TINI@iButton.com
To subscribe, send an email with "subscribe TINI" in the BODY of the
message to TINI-request@iButton.com.
To unsubscribe, send an email with "unsubscribe TINI" in the BODY of the
message to TINI-request@iButton.com.
For majordomo mail-list related problems or questions, please contact
owner-TINI@iButton.com.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic