Solved

How to set the Baud rate of the serial driver to more than 57600

Posted on 1997-02-09
1
238 Views
Last Modified: 2013-12-26
Well, the complete question is already in the title. Some details: I am programming in C. The header file serial.h supplies constants for baud300 to baud57600 (to be used for the serConfig parameter of the SerReset funtion). However, I know that the modem port of my PM7500 supports up to 230400. So, how can 115200 or 230400 baud be set?

Thanks in advance,

Peter (pxh@mpe-garching.mpg.de)

P.s.: I am currently evaluating Lev's answer. For obvious reasons I have to go offline first ;-)
0
Comment
Question by:pxh
1 Comment
 

Accepted Solution

by:
Lev earned 50 total points
ID: 1291405
Serial.p (Sorry, I'm using Pascal) contains following:

{ csCodes for serial driver Control routines }

CONST
      serdSet230KBaud                        = 'JF';                                          { set 230K baud data rate }

so you should just call Control or PCControl with this code (I think no parameters are required).
Note: I have never tried it, so I don't guarantee it will work.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now