Thread: IR Port

  1. #1
    Registered User
    Join Date
    Jan 2004

    Exclamation IR Port

    Hello to all !!

    This is very important, so please help me !

    Who can i access the IR Port under Windows XP ?? What i want to do is to receive and send some bytes, not to open a complete IR connection.

    THX to all!!!

    C YA - Nuker

  2. #2
    Registered User
    Join Date
    Aug 2003
    You can check this out:

    LEGO IR Port, theres a library that makes it easier to send/receive data over the IR port, it was originally used to control LEGO robots or something, but im sure you can tweak it to your own use.

    And you might want to look it up on Google

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    You can communicate directly with most IR devices through a COM port using normal Win32 serial communications.
    However, if you're trying to communicate with a device that uses the IrDA protocal, then you can use WinSock programming as that link shows.

    If you do want to read from the device directly, you can use the CSerialPort class from X PaYnE X's post, or you can use the class object in this thread to get you up and running with Win32 serial communications quickly (hope you dig C++).
    Just know that reading meaningfull data is going to be different from one IR device to the next, you can contact the manufacturer or look on the net for the specs on your device.


  4. #4
    Registered User
    Join Date
    Jan 2004
    First of all, thx for your replies !!

    But there's still a problem : I don't have a specific IR component located at a serial port, but a build in IR component. The IR module isn't located on a COM port in WinXP ( I want to use the build in IR port of a modern Tablet PC ).

    And i don't want to create a complete IRdA connection, i only want to receive and send the raw datas.

    What i want to do, is to implement a remote control for TV, so I only have to send some sort of bytes which i have received from the original TV remote control.

    C YA - Nuker

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM
  4. Basic port scanner code .. pls help ???
    By intruder in forum C Programming
    Replies: 18
    Last Post: 03-13-2003, 08:47 AM
  5. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM