It is all in discovery. Your first discovery is for devices. All Bluetooth devices in the area will be returned. The second discovery is for services. you might not know the default service name, so you might not do this second discovery and just use the list from the first discovery.