Solved

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

Posted on 2004-10-12
18
558 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:aramboy
  • 6
  • 6
  • 6
18 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12287904
what language?
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 250 total points
ID: 12287940
0
 

Author Comment

by:aramboy
ID: 12289256
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
 
LVL 48

Assisted Solution

by:Mikal613
Mikal613 earned 250 total points
ID: 12290547
0
 

Author Comment

by:aramboy
ID: 12291071
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
 
LVL 48

Expert Comment

by:Mikal613
ID: 12291284
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
 
LVL 4

Assisted Solution

by:bhpr
bhpr earned 250 total points
ID: 12294925
have you visited here?

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

-bhpr
0
 
LVL 4

Assisted Solution

by:bhpr
bhpr earned 250 total points
ID: 12294949
0
 
LVL 4

Assisted Solution

by:bhpr
bhpr earned 250 total points
ID: 12294957
0
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 

Author Comment

by:aramboy
ID: 12296233
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
 
LVL 48

Expert Comment

by:Mikal613
ID: 12297272
in my article it was discussed that it wouldnt work on a pc because you need sockets
0
 

Author Comment

by:aramboy
ID: 12301738
Is it mean i cannot do that? T T

0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12301805
a)Its possible
b)theres nothing out there that says how

so ....
0
 
LVL 4

Expert Comment

by:bhpr
ID: 12305184
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
 
LVL 4

Expert Comment

by:bhpr
ID: 12305201
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
 

Author Comment

by:aramboy
ID: 12387636
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
 
LVL 4

Assisted Solution

by:bhpr
bhpr earned 250 total points
ID: 12391758
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
 

Author Comment

by:aramboy
ID: 12502092
Umm...

It's some difficult.

However, I'm trying.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

MAC Filtering: MAC filtering is like handing a list of names to a doorman. If someone comes to the door and mentions a name, this name is checked by the doorman on his list and granted or denied access by this. This means that if someone menti…
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now