sawinglogz
918f4af2c1
Add support for signals and serial port reading to XML replay.
...
Replay now passes its initial regression test when the oximeter is unplugged.
2020-07-10 11:51:52 -04:00
sawinglogz
5947751291
Add playback of most serial port operations.
...
read() isn't yet tested because it requires the readyRead signal.
2020-07-10 11:51:52 -04:00
sawinglogz
92d0af220d
Make XML recording thread-safe.
2020-07-10 11:51:52 -04:00
sawinglogz
8fbf665b89
Simplify XmlReplayEvent retrieval and add support for matching id.
2020-07-10 11:51:52 -04:00
sawinglogz
d350e47382
Track connections by name only, not by type as well.
...
Also rename getAvailableSerialPorts for clarity.
2020-07-10 11:51:52 -04:00
sawinglogz
553cf59a95
Move connection creation to DeviceConnectionManager.
...
Calling openConnection will return an open connection or nullptr.
Deleting the connection will close it.
SerialPort now uses this under the hood, while still presenting
the QSerialPort-compatible interface.
2020-07-10 11:51:52 -04:00
sawinglogz
7c98af3f86
Refactor class hierarchy for serial port XML recording.
2020-07-10 11:51:51 -04:00
sawinglogz
1630051dd1
Generate XML tags for every serial port connection event.
2020-07-10 11:51:51 -04:00
sawinglogz
3210ecd1ba
Add plumbing for intercepting and logging serial port activity.
2020-07-10 11:51:51 -04:00
sawinglogz
3afa8c87c1
Minor tidying and documentation, no functional change.
2020-07-10 11:51:51 -04:00
sawinglogz
ac1281c1d9
Add playback of serial port scan, along with supporting infrastructure.
2020-07-10 11:51:51 -04:00
sawinglogz
efbb967b5c
Add DeviceConnectionManager class to record serial port scan.
2020-07-10 11:51:51 -04:00
sawinglogz
cd29593280
Add XML serialization/deserialization to SerialPortInfo.
2020-07-10 11:51:51 -04:00
sawinglogz
7a85f9784c
Add initial device connection classes to eventually support recording/playback.
...
This initial commit is designed to change as little existing code as possible.
Once regression tests are in place that can play back previously recorded
data, we can move on to more significant changes.
2020-06-04 14:32:03 -04:00