Re: serial communication with tcl



Ralf Fassel wrote, On 28.02.2008 19:45:
* grp62 <grp62@xxxxxxxx>
| bad option "-mode": should be one of -blocking, -buffering, -
| buffersize, -encoding, -eofchar, or -
| translation
| while
| executing
| "fconfigure $serial -mode "115200,n,8,1" "

That sounds like TCL did not recognize /dev/ttyS0 as a serial port but
as a 'real' file. Can you confirm that /dev/ttyS0 is indeed the
correct pathname to the port on that platform?

R'

If I recall correctly, there are Linux distribution with incorrectly configured Tcl.
You should try to recompile Tcl.
.



Relevant Pages

  • Re: Bluetooth Serial Port Profile and Tcl communications
    ... but it appears not to be - at least in what I am experiencing. ... dongle connected to a PC running Windows XP SP3). ... His Tcl serial port monitor ...
    (comp.lang.tcl)
  • Re: Tcl serial port under XP and W2k
    ... also with Tcl 8.3. ... There is a fundamental difference between the 8.3 and 8.4 serial port ... port driver could have a bug ... ... > Digi multiport driver or the way Tcl drive serial ports. ...
    (comp.lang.tcl)
  • Re: serial communication with tcl
    ... | Yes i confirm /dev/ttyS0 is the correct pathname to the serial port ... However, if you open /dev/ttyS0 in tcl, and then do an ... yourself for that platform in question. ...
    (comp.lang.tcl)
  • Re: serial communication with tcl
    ... That sounds like TCL did not recognize /dev/ttyS0 as a serial port but ... This may occur either if the kernel driver is failing to report itself as a TTY, or if Tcl is wrongly configured (especially when cross-compiling, since configure script may fails to set USE_TERMIOS, etc... ...
    (comp.lang.tcl)
  • Re: Bluetooth Serial Port Profile and Tcl communications
    ... The unusual procedure of open-close-reopen of serial ports in Tcl is ... opening a serial port. ... problem within the Bluetooth driver, ... BthModem1 SUCCESS ...
    (comp.lang.tcl)