changing dataPort and getting devicetime