I have a Bluetooth server which advertise a service in RFCOMM with a service name as "my_service" nothing more than this. I have to connect to this service by using a midlet (j2me) and send just a string.

I'm new in Java world. I found lots of bluetooth example client/server from net. All of them the the same concept is having a UUID and attributes. So far no API or example of connecting to by service name. Only as follow:-

DiscoveryAgent.searchServices(int[] attrSet,UUID[] uuidSet,RemoteDevice btDev, DiscoveryListener discListener);

Is there any way/API to discover bluetooth service by name?