RE: tcl/tk serial port access on PocketPC: fconfigure -mode does not work

"Jeff Hobbs" <jeff-2ke/W+B1M/[email protected]>
Newsgroups gmane.comp.windows.ce.freeware
Organization ActiveState
Message-ID <[email protected]>
> I need some help in accessing the serial port on my Pocket PC 
> (Fujitsu Siemens Pocket Loox 410 with Windows Mobile 2003 
> operating system). I am running the tcltk846ce-arm 
> installation from sourceforge and in principle it works quite 
> well. Thanks to the tcltk community!
	...
>   fconfigure $chan -mode $mode
	...
> But on the Pocket PC it fails:
>   bad option "-mode": 
>   should be one of -blocking, -buffering, -buffersize, 
> -encoding, -eofchar, or -translation

There are some issues with the CE port and serial port access.
It is not fully implemented.  This looks like the channel was
not recognized as a serial port, but even if it was, looking in
the sources I see that BuildCommDCB does not appear to be
implemented, so this wouldn't work anyways.  Ah yes, in
tcl/win/tclWinChan.c, FILE_TYPE_SERIAL detection is explicitly
commented out for CE.

If someone has the code for serial port handling on CE, they
could look at plugging that support back in.

  Jeff Hobbs, The Tcl Guy
  http://www.ActiveState.com/, a division of Sophos



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/W4wwlB/TM
--------------------------------------------------------------------~->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.