Save the current port settings into the configuration file. Note that it assumed that the correct configuration file section is already set.
Reimplemented in PModem. Definition at line 102 of file serial.cxx. References GetDataBits(), GetInputFlowControl(), PChannel::GetName(), GetOutputFlowControl(), GetParity(), GetSpeed(), and GetStopBits(). Referenced by PModem::SaveSettings(). { cfg.SetString(PortName, GetName()); cfg.SetInteger(PortSpeed, GetSpeed()); cfg.SetInteger(PortDataBits, GetDataBits()); cfg.SetInteger(PortParity, GetParity()); cfg.SetInteger(PortStopBits, GetStopBits()); cfg.SetInteger(PortInputFlow, GetInputFlowControl()); cfg.SetInteger(PortOutputFlow, GetOutputFlowControl()); }
|