Small fix for serial directions.
Add enum for input/output/monitoring/serial ports statuses.