?
Solved

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

Posted on 1997-02-09
1
Medium Priority
?
280 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 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month15 days, 22 hours left to enroll

850 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