I work with serial communications and I wonder if SerialPort should be opened or not?
I create a queue of commands, and only one will work at a time. Should I create a SerialPort and open / close it in each command, or do I need another class that supports opening a port and is called from commands? Or does it really matter?
source
share