Yesterday, I had programmed a simple Bluetooth network for my iPhone application. This morning, when I tried to continue development, it suddenly wasn't working on my iPod Touch 2G at all. It works just fine on the iPAD however. The problem arises when I try and set the availability of my GKSession object to YES on the iPod, having created a Server session. The console receives the following:
2010-10-05 14:28:55.762 Clusters[67:307] BTM: attaching to BTServer
2010-10-05 14:28:55.786 Clusters[67:307] <<< Session >>> +[GKBluetoothSupport _determineBluetoothStatus]: BT not available - try again later.
2010-10-05 14:28:55.862 Clusters[67:307] BTM: posting notification BluetoothAvailabilityChangedNotification
Now, I know that Bluetooth is turned on, and I know that it's working because I downloaded a free Bluetooth transfer app to test that out. I've reset my iPod, cleaned my targets, poked and prodded at various parts of the code, but I just can't find out why the app can't create a Bluetooth server. It can create a Bluetooth client just fine, since the app can receive data sent by my iPad perfectly well.
Can anyone make any suggestions as to what might be happening here? I'm at my wit's end.