tserialport - tcl package for library libserialport
https://fossil.sowaswie.de/tserialport
Version 1.2 is now Tcl 9.x compatible
* Alexander Schöpe <ete-sep@mxbo.de>
| tserialport - tcl package for library libserialport
| https://fossil.sowaswie.de/tserialport
| Version 1.2 is now Tcl 9.x compatible
| Description
| libserialport is a minimal, cross-platform shared library written in C
| that is intended to take care of the OS-specific details when writing
| software that uses serial ports.
Out of curiosity: what does that package add to cross-platform serial
port handling that the TCL core does not already provide?
R'
* Alexander Schöpe <ete-sep@mxbo.de>
| Am 05.01.2026 um 11:48 schrieb Ralf Fassel:
| > * Alexander Schöpe <ete-sep@mxbo.de>
| > | tserialport - tcl package for library libserialport
| >>
| > | https://fossil.sowaswie.de/tserialport
| >>
| > | Version 1.2 is now Tcl 9.x compatible
| >>
| > | Description
| >>
| > | libserialport is a minimal, cross-platform shared library written in C | > | that is intended to take care of the OS-specific details when writing
| > | software that uses serial ports.
| > Out of curiosity: what does that package add to cross-platform
| > serial
| > port handling that the TCL core does not already provide?
| > R'
|
| It locates the serial interfaces.
Ok, it's not only plain serials (rs232 et al.), but also others like bluetooth etc
| Example
| tserialport::getports ?open?
| Command open will try to open the port in read mode and get the
| default settings.
| Returns a list of all serial ports at your system including the device
| name and usb or bluetooth information as a dict.
Cool, thanks!
R'
... You can then use the serial number of the USB
device to find the device you want to control in the returned list.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,096 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 366:05:59 |
| Calls: | 14,034 |
| Calls today: | 2 |
| Files: | 187,081 |
| D/L today: |
1,733 files (529M bytes) |
| Messages: | 2,478,509 |