Solved

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

Posted on 2004-10-12
18
565 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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
 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the purchase of CloudCommand by Comcast customers are left in a bind as subscriptions expire and render the AP's disabled. The following will explain how to flash your Ubiquiti AP's with CloudCommand firmware back to Ubiquiti firmware. HOWTO…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
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…

830 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