device discovery m2