internal modem baudrate
My program has to connect an external device through a modem at a fixed baudrate of 9600 bps.
When I connect an external modem to the COM port, everything
When I want to use the internal modem of the PC, it always
connects to "28800 V42bis" instead of 9600 bps.
It looks like somewhere the dcb settings are ignored or
overruled when SetCommState() has been called.
What am I overlooking ?
The DCB settings will control your COM connection to the modem, not the modem's connection to another modem.
You control the modem using AT commands.
This I understand.
I assume an internal modem should oprate in the same way as an external modem.
Both are connected to a COM port.
Why does the internal modem connect to a different speed and thus the receiving modem connects to the device attached to it at a wrong speed ?
Look up the AT commands supported by that modem and ensure you are giving it the right commands for connecting at a particular baud rate.