Configurable serial port for wireless