Re: Comm Port Send/Read Data.
From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 11/26/04
- Next message: Gandalf: "Problem with an ocx with eVB3.0"
- Previous message: J.R: "Comm Port Send/Read Data."
- In reply to: J.R: "Comm Port Send/Read Data."
- Next in thread: J.R: "Re: Comm Port Send/Read Data."
- Reply: J.R: "Re: Comm Port Send/Read Data."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Nov 2004 17:54:24 -0000
So you need to open the serial port and communicate with the modem as you
would with any other rs232 device. There is nothing special with sending the
commands just AT + your command + newline.
If you are asking how to actually perform rs232 comms then the short answer
is to use the opennetcf source:
http://www.opennetcf.org/SourceBrowse/browse.aspx?f=d:/sites/OpenNETCF/InetPub/wwwroot/Source/OpenNETCF/IO/Serial
If you are planning on moving to CF 2.0's serial class when it is released,
I suggest you do something like this:
http://wiki.opennetcf.org/ow.asp?Preparing+for+CF+2%2E0+SerialPort+with+OpenNETCF+Port
For a full rs232/serial story with regards to .NET check this out:
http://www.danielmoth.com/Blog/2004/09/serial-rs232-communications-in-net.html
Cheers
Daniel
-- http://www.danielmoth.com/Blog/ "J.R" <sorry@nospam.com> wrote in message news:ON4bL$90EHA.1452@TK2MSFTNGP11.phx.gbl... > Greetings all, > > I'd like to be able to send AT command(s) to a modem and retrieve it's > response in my pocketpc C# application. > > Any example etc. would be helpful. > > Thank you, Johnny. >
- Next message: Gandalf: "Problem with an ocx with eVB3.0"
- Previous message: J.R: "Comm Port Send/Read Data."
- In reply to: J.R: "Comm Port Send/Read Data."
- Next in thread: J.R: "Re: Comm Port Send/Read Data."
- Reply: J.R: "Re: Comm Port Send/Read Data."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|