Solved

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

Posted on 1997-02-09
1
260 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

717 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