Quantcast

[ANN] tserialport 1.1 released

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ANN] tserialport 1.1 released

Alexander Schöpe-2
http://wiki.tcl.tk/48742

tserialport - Get a list of Serial Ports (native, usb and bluetooth)


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.


package require tserialport
set mydict [tserialport::getports open]

0 {device /dev/cu.Bluetooth-Incoming-Port description Bluetooth-Incoming-Port open true transport native
baudrate  9600 bits 8 parity invalid stopbits 1 cts ignore dsr ignore dtr on rts on xon_xoff disabled}
1 {device /dev/cu.usbserial-FT0882PI description UC232R manufacturer FTDI product UC232R serial FT0882PI
vendor_id 0x403 product_id 0x6001 open true transport usb baudrate 9600 bits 8 parity invalid stopbits 1
cts {flow control} dsr ignore dtr on rts  {flow control} xon_xoff disabled}


The package has Tcl Extension Architecture and has been tested under Linux, Mac OS X and Windows 7.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-core

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ANN] tserialport 1.1 released

Harald Oehlmann
Am 15.05.2017 um 15:09 schrieb Alexander Schöpe:
> The package has Tcl Extension Architecture and has been tested under Linux, Mac OS X and Windows 7.

Dear Alexander,
thank you bringing this package to the community. A second release in
short time, great !

It is more common to announce new packages:
- on the news channel comp.lang.tcl , which is old but still crucial for
communications
- the wiki (what you did)

The core list is more for discussions on the core itself. You might get
more attention on the news channel.

Thank you,
Harald



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-core
Loading...