JM 3/19/2019 The following worked for me on a Lenovo Yoga Tab 3, running Androwish
set dev [lindex [usbserial] 0] set fh [usbserial $dev]
Instead of:
set fh [open $comPort RDWR]
Screenshot:
JM 3/23/2019 - SerPortChat works on Androwish with the following minor changes:
PC - Null_Modem_Cable - USB_to_RS232 - USB_OTG - Tablet
jorge@jorge-nga:~/tclCode$ diff SerPortChat.tcl AWSerPortChat.tcl 4c4 < image create photo img-icone -file app.png --- > #image create photo img-icone -file app.png 87c87 < ttk::label .about.fond.i -image img-icone -anchor n --- > ttk::label .about.fond.i -text img-icone -anchor n 175c175,178 < if {![catch "open $::comport r+" ::tty]} { --- > set dev [lindex [usbserial] 0] > # set fh [usbserial $dev] > > if {![catch "usbserial $dev" ::tty]} {
PC Screenshot:
Tablet Screenshot: