device inquiry doesnt automatically stop
device inquiry doesnt automatically stop
- Subject: device inquiry doesnt automatically stop
- From: "Tom Burger" <email@hidden>
- Date: Sun, 11 Nov 2007 13:35:55 +0100
Hi all,
I have problems with the IOBluetoothDeviceInquiry. So far I haven't
found material about it on the web. Can someone please explain?
- Environment:
My Bluetooth API version is 1.7.14.
A inquiry will start for N seconds, what is by default 10 seconds.
- Situation:
So let's start the inquiry with a complete callback:
inquiryRef = IOBluetoothDeviceInquiryCreateWithCallbackRefCon(NULL);
IOBluetoothDeviceInquirySetUpdateNewDeviceNames(inquiryRef, FALSE);
IOBluetoothDeviceInquirySetCompleteCallback(inquiryRef, completeCallback);
IOBluetoothDeviceInquiryStart(inquiryRef);
(Checking IOBluetoothDeviceInquiryGetLength gives also the default 10secs)
My theory is that the completeCallback should be invoked after 10
seconds. But nothing happens (not even after 25 seconds)... only when
I 'manually' call the IOBluetoothDeviceInquiryStop function it will
call the completeCallback() function.
- Question:
Should the bluetooth device automatically leave inquiry mode after the
number of seconds that a inquiry has been setup for? Or does it only
leave the inquiry mode by calling the IOBluetoothDeviceInquiryStop()
function?
Kind regards, Tom
_______________________________________________
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