
 Sami Sipponen - 2011-08-07 13:27:05
There is a bug when trying to configure serial settings at Windows environment. PHP Searial class tries to configure settings part by part, but this is not supported by "mode" command it uses. When you give only one parameter to mode, it will change that as requested, but at the same time it will reset all other settings to the default values.
Somebody need to rework this class so that at Windows environment "mode" command is ran only once. Probably the best way to do it is to collect all the parameters in one array and run mode command with those parameters when serial connection is being opened.