I'm currently working on a J2ME game which communicats with a server (PC) over bluetooth.
I searches for every device in range and save each founded device in a Vector. After the search is completed i start to search for the specific service on every founded device.
Everything works fine if there is only the device in range that overs the service or this device is the first found by device inquiry.
I've done a lot of bugtracking but couldn't figure out why it doesn't work if the service runs on e.g. the second founded device.
I think it isn't a problem of the logic cause it searches for services on different devices but the callback method just didn't get called.
During my research about this problem i read that the callback method should not call bluetooth functions. So i restructure my program to fullfill this. I also used diffrent callback handler object for each call to searchServices.
I use a Nokia 6680 and 6600 for testing and eclipse with eclipseme (ant build script) for development.
any help highly appreciated