added options to configure baud rate and interfacemode