Olá pessoal, não gosto muito de escrever o mesmo tópico em mais de um fórum... mas como não obtive resposta, aí vai:
Código:LocalDevice device = LocalDevice.getLocalDevice();
device.setDiscoverable(DiscoveryAgent.GIAC);
String url = "btspp://localhost:" + UUID_STRING + ";name=" + SERVICO_STRING + ";master=true";
StreamConnectionNotifier notifier = (StreamConnectionNotifier) Connector.open(url);
PushRegistry.registerConnection(url, "techmobil.chat.controller.ChatMIDlet", "*");
java.lang.IllegalArgumentException: invalid port format
at com.sun.midp.io.HttpUrl.parseAfterScheme(+378)
at com.sun.midp.io.HttpUrl.<init>(+117)
at com.sun.midp.io.j2me.push.PushRegistryImpl.registerConnectionInternal(+106)
at com.sun.midp.io.j2me.push.PushRegistryImpl.registerConnection(+91)
at javax.microedition.io.PushRegistry.registerConnection(+6)
at techmobil.chat.bluetooth.ChatBluetooth.servidor(+52)
at techmobil.chat.controller.ChatController$2.run(+11)
Utilizo a mesma url para criar um Servidor sem o PushRegistry e funciona...
Alguém sabe onde estou errando? :?