Changed udp mode to udp+tcp mode; fixed setting baud rate (not in a clean way though).