JavaME bluetooth:javax.bluetooth.BluetoothStateException: too mach concurent requests
I'm developing a bluetooth messaging application which sends text messages between devices.
My problem is when I connect more than 2 devices. After sending some data between them (let us say 3 devices) I get this exception:
javax.bluetooth.BluetoothStateException: too mach concurent requests
I get it at device inquiry... this means when the application tries to detect other devices.
This is the function that starts the inquiry:
No I cannot because that means I interrupt all users and when they join again.... the same thing, that exception. Users must stay connected. I use a refresh function for connection which works nice and I didn't got any exception but it's not detecting devices continously, it's only when I click refresh button.