Service discovery protocol (SDP) enables clients to discover services on other nearby Bluetooth devices or servers, as well as detecting when the services are no longer available. SDP considers any feature usable by other Bluetooth devices to be a service.
For more information on SDP, see the Specification of the Bluetooth System, Core, part E