device inquiry doesnt automatically stop
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Dh8vmAJ+Pjsc35X9HR+PJ3ixIsCDKCUWfMSUJET0GXY=; b=JGllX1MzgYPi1/Zv6R7kNR2isyHF4E9Sbkm56b1rNgKZ6Az9OHIAeVrREnQtAgsgXegnjbUK7dZZXriZVOvkqnaY/f5QJptNBX2SNo/5MdI0XezIqxkCr1UZ2ABVIekwcJ/63Ok4XIHW4PWXm+i6vWkflKDIjq25TxLDL45G+x8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bTr5CAaxDRpcJ6ANXpSRDqQoDteUw/PEWePCPcmCYnlh08NjC/jH1SZkoqF9X8CIikKLz+cki1c11NwF6mdblrqpsDqZrFTMwaVOLHJOAMlAoz553H/MOKSuuAqyStGrl+wEgSRP9hvr4fKpQDij2BmPmB/+xcSw5jqtg+Wdz6I= 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Tom Burger