How I receive raw data from remote control and send it from pc using USB-IrDA dongle

I had searched for this problem and  I found it on this site but i cannot view them, so sorry to ask this question again.

I have a USB-IrDA and i want to coding an application to receive raw data via infrared from remote control to learn the commands and then send those commands to control my device.

please suggest me how can i do that?
has any examples for download ?

thank you.
aramboyAsked:
Who is Participating?
 
Mikal613Commented:
what language?
0
 
aramboyAuthor Commented:
Hi, Mikal631

The followed your link and read some articles and i doubt that,

My PC does not has built-in IrDA port and ,So I use the USB-IrDA (Like Flash drive but it IrDA instead of storage) instead. Does it have  "IrCOMM" ? if not which port i can use?

The language i preferred are vc++ ,c#, or java.


(Sorry about my english)
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
aramboyAuthor Commented:
Thank you again for your help.

But I don't know what u mean.

I follow ur links but I can not find what i want.

I want to write application on "PC" or "Laptop" not Pocket PC or other handheld devices.
 
All I have are One "PC" (Desktop) or "Notebook"  (Laptop) and one usb-IrDA like this

http://www.baazee.com/jsp/BidForm.jsp?Trade_TradeId=27211481

But when i follow ur links i found the articles only for pocket pc

if i misunderstand something please let me know
0
 
Mikal613Commented:
I understand now. No one has achived this but here is information that will help you.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/remote_control.asp?_r=1
0
 
bhprConnect With a Mentor Commented:
have you visited here?

http://www.usbman.com/developer.htm

-bhpr
0
 
aramboyAuthor Commented:
Thank you ffor all help.

I have found something about "IrDA Programming with windows sockets"

But I think it will not work in my case.

because the socket have to use service name and do something like handshake between
two device, but i want to receive raw data from remote control and i think it cannot handshake with pc IrDA. Isn't it?

If it can do, please let me know.
0
 
Mikal613Commented:
in my article it was discussed that it wouldnt work on a pc because you need sockets
0
 
aramboyAuthor Commented:
Is it mean i cannot do that? T T

0
 
Mikal613Commented:
a)Its possible
b)theres nothing out there that says how

so ....
0
 
bhprCommented:
Hi aramboy,

Have u read this link?
Do u understand the layers and their functionality?

If yes i think you will get your answer.

-bhpr


0
 
bhprCommented:
and about handshake i think every device comes with a device driver that is the lowest layer.

i think, This should take care of handshake!

-bhpr
0
 
aramboyAuthor Commented:
Sorry, I'm off for some days.

I don't clear about the layer andtheir functionality.

which layer i must use ?

please tell me more details?

(Sorry, i'm new in programming.)
0
 
bhprConnect With a Mentor Commented:
What i mean is that ever hardware has its own characteristics.

To make understand their functionalities to the OS it provides a set of drivers, known as device driver, and i am saying device driver as lowest level.

<Application > ----------  <device Driver> ------------------ < |deviceinterface| Hardware>

However you can write your own devicedriver if you are aware of hardware functionality.

Flows

1) Apllication sends data to harware using calling the functions of device driver.
2) Device driver accepts data and send it to hardware device.


and so on...

-bhpr


0
 
aramboyAuthor Commented:
Umm...

It's some difficult.

However, I'm trying.
0
All Courses

From novice to tech pro — start learning today.