• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
device inquiry doesnt automatically stop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: device inquiry doesnt automatically stop
      • From: email@hidden
  • Prev by Date: Re: Problems with IOBluetoothDeviceInquiry on Leopard
  • Next by Date: Re: device inquiry doesnt automatically stop
  • Previous by thread: Re: Problems with IOBluetoothDeviceInquiry on Leopard
  • Next by thread: Re: device inquiry doesnt automatically stop
  • Index(es):
    • Date
    • Thread