by MattMadMa » Jan 3, 2003 @ 6:20am
I was chatting on IRC with Mechcommander about this and he told me to come here. I'm working with the infrared port in order to remote control home appliances (TVs, amps, DVDs...) but I'm having some problems. I'm able to open the port using CreateFile() and get some data from it (when my TV remote is emitting). It would be easy to save what ReadFile() returns and reproduce it with WriteFile() but obviously it doesn't work for timing reasons and because these functions are for serial access. I could as well use TV Remote controller 5.1 but I'm stubborn and I want to know how this stuff works... Then I thought about accessing hardware directly, and I found some docs that show how for WinCE 3.0, but does it work the same way in Pocket PC 2002? I also have all the info I need about the Intel PXA250 CPU. Is there any other way to do it? Is direct hardware access on the IR port dangerous for my PDA if something goes wrong? BTW, I use a Toshiba e330 (XScale). Any help would be greatly appreciated... Does somebody have a clue on how other programs did it?