TIP: Click on subject to list as thread! ANSI
echo: cis.os9.6809.coco
to: 72300,1433 (X)
from: Keith H. March 70541,1413
date: 1992-04-21 21:30:20
subject: #Sending a BREAK!

#: 15034 S10/OS9/6809 (CoCo)
    21-Apr-92  21:30:20
Sb: #Sending a BREAK!
Fm: Keith H. March 70541,1413
To:  72300,1433 (X)

#include 

            case 'B':
                    getstat(0, port, buffer)
                    /* switch to lowest baud rate (50) */
                    (char *) & buffer
                    setstat(0, port, buffer)
                    write (port, "\0", 1);
                    /* Switch back to original baud rate */
                    (char *) & buffer
                    setstat(0, port, buffer)
                            if (debuglv >=2
                            printf("");
                    break;


Is this right on how to send a BREAK (NOT A BREAK CHAR), coded in c, to the
modem?

Keith

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.