I am developing an application in c# for pocket pc's which comminucates with a mobile phone through the IR port. But there aren't any help on how to communicate with a mobile phone through the IR port. I found a sample application provided by Microsoft which enables communication between 2 pocket pc's through the IR port. But it dosen't work with a mobile phone. What i want to do is send a message to the mobile phone through the IR port, wait for the reply and receive the reply. Where can i find some sample code for this?

Re: Communicating Through IR Port by Sarat

Sarat
Sat May 29 12:10:04 CDT 2004

"Rajitha" <rajithaw@hotmail.com> wrote in message
news:407762E9-5CCB-4489-8C10-6FA7F3287F1D@microsoft.com...
> I am developing an application in c# for pocket pc's which comminucates
with a mobile phone through the IR port. But there aren't any help on how to
communicate with a mobile phone through the IR port. I found a sample
application provided by Microsoft which enables communication between 2
pocket pc's through the IR port. But it dosen't work with a mobile phone.
What i want to do is send a message to the mobile phone through the IR port,
wait for the reply and receive the reply. Where can i find some sample code
for this?

It is no different from a serial port. Just identify the serial port
correctly and use standard serial communication techniques. May be it fails
because of wrong parameters.

This might sound stupid - have you aligned IR sources? Can you discover the
mobile phone?

Best,
Sarat Venugopal
www.huelix.com



Re:Re: Communicating Through IR Port by Rajitha

Rajitha
Sun May 30 23:25:32 CDT 2004


>-----Original Message-----
>"Rajitha" <rajithaw@hotmail.com> wrote in message
>news:407762E9-5CCB-4489-8C10-6FA7F3287F1D@microsoft.com...
>> I am developing an application in c# for pocket pc's
which comminucates
>with a mobile phone through the IR port. But there aren't
any help on how to
>communicate with a mobile phone through the IR port. I
found a sample
>application provided by Microsoft which enables
communication between 2
>pocket pc's through the IR port. But it dosen't work with
a mobile phone.
>What i want to do is send a message to the mobile phone
through the IR port,
>wait for the reply and receive the reply. Where can i
find some sample code
>for this?
>
>It is no different from a serial port. Just identify the
serial port
>correctly and use standard serial communication
techniques. May be it fails
>because of wrong parameters.
>
>This might sound stupid - have you aligned IR sources?
Can you discover the
>mobile phone?
>
>Best,
>Sarat Venugopal
>www.huelix.com
>
>
>.
>

I tried to use the above method that you have suggested.
But the problem is the lack of support in c# accessing the
serial port of the pocket pc. When using Embedded VB we
can use the Windows CE comm control to communicate with
the serial port. but in C# there are no libraries provided
for this task (i couldn't find any). if there is a way to
access the serial port of a pocket pc in c# that's the
thing i want.