Changes for the serial read/write to/from pst05