How to Send AT-Command to Handphone from PPC using irDA?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

By using C#, how can i send AT-Command to Handphone from PPC using irDA? I'm
manage to establish a irDA connection, but i don't know how to continue from
that.. If anyone can give me some reference?
 
OpenNETCF SDF has Serial class. Open a COM port associated with your IrDA
connection and send your AT commands
 
Thanks for fast reply, Alex...

But I receive exception: "Create File Fail" when i try to open port using
OpenNETCF.IO.Serial.Port.Open( ).
Before I try to open port, i had already called irDAClient.Connect( ). Is it
blocking the port from opening using Port.Open()? what is the appropriate
steps i should take to establish irDA connection and then sending command?
 
you cant use IrDAClient and a Serial port on the same port simultaneously.
You may also need to turn off "Receive all incoming beams" in Settings >
Connections > Beam as this will keep the IrDA port open.

Peter
 
i've found out that the exception is basically caused by the port is opened.
And
i've turn off "Receive all incoming beams", reset my ppc, but still facing
the same problem..
 
Hi,
Thanks guys,
I had solved the problem by changing the port from COM2: (The irDA port) to
COM3: the virtual irCOMM. And that solved the problem..
 
Back
Top