Re: Comm Port Send/Read Data.

From: Daniel Moth (dmoth74_at_hotmail.com)
Date: 11/26/04


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.
> 


Relevant Pages

  • Re: minicom serial output
    ... >>doesn't react and a multimeter accross the serial port shows that no data ... I already changed the modem initialisation string to ... >>'D' (one of the commands recognised by my device) and I can get my device ... > present minicom configuration, go back to the default configuration ...
    (comp.os.linux.hardware)
  • Re: minicom serial output
    ... >doesn't react and a multimeter accross the serial port shows that no data ... >initialisation / hangup commands. ... I already changed the modem initialisation string to ... present minicom configuration, go back to the default configuration ...
    (comp.os.linux.hardware)
  • Re: minicom serial output
    ... doesn't react and a multimeter accross the serial port shows that no data ... It also reacts to the modem ... 'D' (one of the commands recognised by my device) and I can get my device ... If you are changing the settings each time, ...
    (comp.os.linux.hardware)
  • Re: 1-way modem
    ... at boot time related to the appropriate serial port? ... Does the modem respond instantly? ... Does your modem have lights ... The commands get their OKs echo'd back promptly. ...
    (comp.os.linux.hardware)
  • Re: AT Modem commands
    ... AT Modem commands. ... mandatory to communicate using AT commands as we need to communicate with ... modem on the destination side and acquire data from destination. ...
    (microsoft.public.windowsce.app.development)

Loading