Deleted open_communication() and close(dev)
Added Measurement Type field