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

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?
 
A

Alex Feinman [MVP]

OpenNETCF SDF has Serial class. Open a COM port associated with your IrDA
connection and send your AT commands
 
G

Guest

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?
 
P

Peter Foot [MVP]

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
 
G

Guest

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

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top