add support for rs485 control