in reply to Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)
The most likely cause of your problem is that the CommProperties is not giving 115200 as an available baudrate. To see this, try print "baud rate: ", join(" ", $Serial->baudrate), "\n"; just after the new() and see what it says.
You can override this after the new and before the baudrate by giving it some new ones:
Let us know if that helps.$Serial->{"_L_BAUD"}{115200} = 115200;
|
|---|