Changes for version 2.13 - 2026-04-14
- Seen issue on laptop where Win32::SerialPort serial port connection can enter an error condition when performing a a write() and block forever. This module was not able to catch that error condition and calls to put() and print() would hang forever, while the calling Perl script would appear to freeze. The put() and print() functions, with Win32::SerialPort, now use the non-blocking write_bg() and will then wait 1 millisecond (new hard coded constant $ComWriteDoneDelay) before checking write_done(0) for write success; in case of write failure, now the module is able to perform the expected error mode action as expected
- Debug level bit 2 now also activates Win32::SerialPort's user_msg(1) and error_msg(1) functions
Modules
Command Line Interface I/O over either Telnet or SSH (IPv4 & IPv6) or Serial port