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

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 ;-)
LVL 2
pxhAsked:
Who is Participating?
 
LevConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.