Add serial port devices searching/updating #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The original "board must be connected" requirement has been removed, as is the old "alive timer" method of sending characters to check if the device is still connected - now ports are searched at the alive timer interval (on its own thread), and is compared - any differences will overwrite the list of COM devices in the main app window, including accounting for going to/from "no valid devices".
Alongside this, everything directly serial related have been moved to their own AppSerial class.
On a side note, profiles count is now determined exclusively by the size of the profiles tables collected during initial sync - so the App should be able to handle any amount of profiles should a custom firmware use larger profile tables.
Closes #16 (finally)