CompuServe Thread

#PROBLEM WITH SERIAL

2 messages in this thread
#21987From: MARIOMar 5, 1991 4:29 PM
Problems with the serial port. I'm writing a comunication program in Benchmark modula 2. But I have a big problem: even if I initialize well the serial.device and the modem echos the characters rigth, the modem doesn't recognize any command…it seems that the speed is wrong even if I set 2400 as a baudrate. Have u any suggestion? Thanx
#21989From: Gary DunlapMar 5, 1991 7:59 PM
Interesting, I know it is not easy to program the serial device, but it does work. Are you using the SDCmdSetParams command to set the parameters? Seting them when you open the device does not set all the parameters. Other parameters can only be set at opening the device. In particular baud, bits, stopbits, and parity are _not_ set by the open routine. >> Gary <<