Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Raw IR on pocket PC

9 views
Skip to first unread message

ee

unread,
Jan 5, 2004, 7:00:37 AM1/5/04
to
Hello, I posted a message some times ago but my PC Time was wrong, so i see
it appears at the bottom of the list. I'm reposting it maybe I can get somme
attention...

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


Lisa Pearlson

unread,
Jan 5, 2004, 3:39:19 PM1/5/04
to
Not sure about Toshiba e740, but I have implemented it on iPaq's and Mitacs.

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...

ee

unread,
Jan 6, 2004, 3:19:49 AM1/6/04
to
Thanks for the answer,

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...

0 new messages