The existing UI is very much a POC to show that we can have end to end communication between the computer and the microcontroller. As such we have a few enhancements in mind.
Split the thread for listening to the microcontroller from the main UI so that we can close the UI while still getting updates
Allow the UI which should now run on its own to kill off the thread that is listening to the controller (add a button)
Add an icon to the windows tray to bring the UI back if you close it.
In terms of implementation, it seems to me the main thread should be the listener then on program launch (?) run the UI and have the listener thread maintain the icon in the windows tray.
The existing UI is very much a POC to show that we can have end to end communication between the computer and the microcontroller. As such we have a few enhancements in mind.
In terms of implementation, it seems to me the main thread should be the listener then on program launch (?) run the UI and have the listener thread maintain the icon in the windows tray.