mcs2: set hash value for discover and bind commands