Package jtermios.testsuite
Class TwoPortSerialTest
- java.lang.Object
-
- jtermios.testsuite.TwoPortSerialTest
-
public class TwoPortSerialTest extends Object
Executes tests to check the correct implementation of frame format settings. You'll need two serial ports connected by a null-modem cable to execute them.Start this application for the receiving port first and then the sender.
Beware that you'll need capable hardware and drivers to check all settings, especially mark/space parity and < 7 data bits. The bleeding edge Linux or Win32 drivers for PL2303 are good candidates.
To ensure that your driver/device isn't lying about its support of a specific setting, you should run your tests with different models of serial ports for sender and receiver.
- Author:
- cleitner
-
-
Constructor Summary
Constructors Constructor Description TwoPortSerialTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)static voidrunReceiver(String[] args)static voidrunSender(String[] args)
-