programming Ir communication with C

This is a discussion on programming Ir communication with C within the C Programming forums, part of the General Programming Boards category; I am interested in programming the Irda protocol in C. I have already downloaded the specifications for each of the ...

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    2

    programming Ir communication with C

    I am interested in programming the Irda protocol in C. I have already downloaded the specifications for each of the layers contained in the protocol (from the Irda.Org web site), and coded a little.

    But now I am stuck, concerning issues such as, the code behind frames (the format that data is packaged in when transferring data between two Irda devices).

    Is anybody able to help, or suggests where I may be able to get source code from?.

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >the code behind frames (the format that data is packaged in
    >when transferring data between two Irda devices).

    You could use arrays or structures to contain the frames. You will need to write code for retrieving and sending frames, such could be done by writing data to ports. Detecting if data arrives at a port could be done by polling, interrupts or something else. There are many possibilities to do this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unkown Hang
    By Bladactania in forum C Programming
    Replies: 31
    Last Post: 04-22-2009, 09:33 AM
  2. Communication between programs?
    By johny145 in forum Windows Programming
    Replies: 3
    Last Post: 06-01-2005, 10:14 PM
  3. Looking for communication lib
    By BrownB in forum C Programming
    Replies: 3
    Last Post: 04-27-2005, 10:01 AM
  4. Serial communication packets
    By Roaring_Tiger in forum C Programming
    Replies: 3
    Last Post: 04-26-2003, 08:33 AM
  5. communication
    By in need of help in forum C Programming
    Replies: 3
    Last Post: 12-27-2002, 02:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21