Link to home
Start Free TrialLog in
Avatar of aramboy
aramboy

asked on

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.
Avatar of Mikal613
Mikal613
Flag of United States of America image

what language?
ASKER CERTIFIED SOLUTION
Avatar of Mikal613
Mikal613
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aramboy
aramboy

ASKER

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)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aramboy

ASKER

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
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aramboy

ASKER

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.
in my article it was discussed that it wouldnt work on a pc because you need sockets
Avatar of aramboy

ASKER

Is it mean i cannot do that? T T

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

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


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
Avatar of aramboy

ASKER

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.)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aramboy

ASKER

Umm...

It's some difficult.

However, I'm trying.