Sorry for the spam byt I really need help.
Here it comes:
I want to communicate with a Lego Mindstorms device from my Toshiba e740.
I'm able to receive raw IR from lego using OpenNETCF.OI.Serial.Port. It is
very strange begause from the Lego IR i send some data and on my PocketPC I
receive different data.
I tried everything. I set the communication speed to 2400, parity, stopbits,
etc... nothing seems to work.
If this can be solved by some tricks, the huge problem is sending data to
the Lego IR. I tried sending different schemas of data but it didn't seem to
work.
From what i read from the net it is a problem of IR versus IrDA...
Anyone had any luck in sending/receiving IR (non IrDA) from the PocketPC.
Toshiba e740 ?
Thanks, Bill
The thing is, to use RAW Ir, the device must support it. Most do, but not
all.
The next trick is to open the right virtual com port.
There is a virtual com port for IrDA, and one for RAW Ir.
Usually the RAW Ir port is unavailable because it is used by the IrOBEX
applet ('Beam' application under control panel communication settings).
So, first shut down the Beam application (This can be done programmatically,
but do it manually first).
Then some devices share the same serial driver for both serial and irda and
so you must issue EscapeComm to switch to Ir.
The right com port can be found in the registry.
<ee> wrote in message news:%23RsXHO4...@TK2MSFTNGP10.phx.gbl...
The last ROM update from Toshiba e740 says that RAW IR is now supported so I
suppose it should work.
After some work with Visual Embeeded Tools 3.0 i accessed the serial
directly with CreateFile and I encountered the same problems. I did the
EscapeComm with SETIR but same thing happened.
Strange though I recorded the IR output from the lego with a Remote Control
progeam and I tried to send it back. But tjhe lego brick does not recognize
the signals.
Help !!!
"Lisa Pearlson" <n...@spam.plz> wrote in message
news:#XpUSw80...@TK2MSFTNGP10.phx.gbl...