add setBaudrate, enableFlowControl switch function.