Given that IoT devices exchange services directly or through gateway,
I want to know how we can get the list of devices that are using a particular service?
For example, given a temperature mesure service that is offred to home devices, How we can get the list of devices that are using it?