Solved

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

Posted on 1997-02-09
1
247 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pressing cancel button with C# UI Automation 3 81
WinWaitActive parameters 12 31
substring method in java 1 129
Problem to event 3 102
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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

861 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