Javagal: receiver RS-232 refactored