device and service discovery