changed MF to use nrjavaserial lib