Recovering after turning BT off and on
Recovering after turning BT off and on
- Subject: Recovering after turning BT off and on
- From: Daniel Birns <email@hidden>
- Date: Wed, 8 Oct 2008 12:21:33 -0700
We have a pretty reliable BT implementation. The problem I'm having is after you successfully use BT, if you then disable it (from the system toolbar), and then reenable it, I get the following behavior:
I am using IOBluetoothDeviceInquirySetDeviceFoundCallback().
When this is called, I set a counter, as per the bt examples in the manual.
After I disable/enable BT, this never gets called. However, if I stop my application and restart it, everything works fine.
Is there something I need to do in this case to reset a state or something? I'm using IOBluetoothLocalDeviceGetPowerState() to discover when BT is available to me. When it's not available I abort my inquiry. Perhaps I'm leaving some state somehow that's causing this problem?
--Daniel |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden