Thread: RS232 programming

  1. #1
    Registered User
    Join Date
    Jul 2011
    Location
    Bergen, Norway
    Posts
    1

    RS232 programming

    Hello!
    I need som help setting up my c++ code.
    I'm communicating with a GSM modem (CT63) and I'm haveing truble setting up the connection properly.

    When I sniff data that I send with Hyperaccess i get this:
    [04/07/2011 11:06:53]
    39 IRP_MJ_DEVICE_CONTROL - Request operates a serial port
    STATUS_SUCCESS
    IOCTL_SERIAL_SET_WAIT_MASK - Request configures Serial to notify a client after the occurrence of any one of a specified set of wait events
    Mask - 160 (EV_DSR | EV_ERR | EV_RING)

    I have search a lot on MSDN but can't find examples on how to set this up i c++, but I'm too noob to know how to set this up in c++.

    Anyone know how?

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Have you tried the modem manufacturer's site?
    The are usually SDKs for this kind of thing.

    (SDK = Software Development Kit)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with RS232
    By evverton in forum C Programming
    Replies: 4
    Last Post: 03-25-2009, 06:12 PM
  2. RS232/DB9 in C
    By minhdung_hoang in forum C Programming
    Replies: 4
    Last Post: 01-19-2009, 05:25 PM
  3. Rs232
    By lostinspace in forum C Programming
    Replies: 1
    Last Post: 06-12-2008, 05:13 PM
  4. Programming the RS232 port in C++
    By nkxt82 in forum C++ Programming
    Replies: 7
    Last Post: 11-01-2006, 12:10 AM
  5. rs232 with win api
    By alaturka in forum C Programming
    Replies: 14
    Last Post: 12-27-2005, 10:24 PM