Hello everyone,
I've been stuck since several days on my bluetooth application. Its role is to receive data from Bluetooth devices, using Serial Port Protocol ... The application runs in the background of the phone and devices, when they need to send an information, turns on the bluetooth and try to send a data frame.
The problem is that several devices can connect using this application. And I don't manage to put the phone as a server so it could receive continuous data. This means that I can create a Connector.open ("btspp: localhost :....") with AcceptAndOpen (), but this function starts only once and I can not relaunch endlessly.
The solution would be to launch a AcceptAndOpen () When a bluetooth call is over ... restart the function, but I can not (I simply recreates the object that made the port opening)
I try to use without success: - PushRegistry ("btspp" is not compatible) - Connector.open () with the mac address of clients (but this is not self-blocking)
If someone could help me on how to solve this issue. Because I have searched thoroughly on the blackberry forums...
Thank you, Fabrice
PS: If you need source code, I can give you ... But I'm not sure this can help you to answer me.