Problem Connecting Blueecove Close

I am using Bluecove 2.1.1 and trying to restart the bluetooth service, but after closing the connection and reopening it, I can’t connect to the service, I got a "Connection reject" exception. I found this problem on the Bluecove website? I am also trying to change the service name (also the UUID) after closing the connection, but that will not help. Does anyone know a workaround for this? I just need to restart the bluetooth service.

+4
source share
1 answer

I'm not sure if I understood your question the way it was.

I assume that you open Connector and SessionNotifier handle OBEX connections with accecptAndOpen(ServerRequestHandler) . When clients connect to your bluetooth service, specific methods are called in ServerRequestHandler ( onGet , onPut , ..). When the client disconnects onDisconnect . Now you need to acceptAndOpen your service again to handle future connections.

0
source

All Articles