Changed serial port functionality to UDP