Thread: internal modem baudrate

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    11

    internal modem baudrate

    Hi,

    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
    works OK.
    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 ?

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    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.

    gg

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    11
    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 ?

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    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.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PCI modem needs help
    By Jaguar in forum Tech Board
    Replies: 3
    Last Post: 09-26-2003, 01:01 AM
  2. Cable modem
    By ZakkWylde969 in forum Tech Board
    Replies: 15
    Last Post: 09-19-2003, 12:07 PM
  3. serial port, modem not responding pls help...
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 07-08-2002, 05:08 AM
  4. XP with modem problems
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 06-04-2002, 04:40 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM