Recovering after turning BT off and on
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=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:references:x-mailer; bh=KsJiHTtmpqzX0PDktbbGWGMHhEF+nh6Bl/hyygEiojo=; b=Zu2kNr0DyY4i9olD3XAvw8MrOvhcOIE9xlZCbFyCB0f1kyz8aT0gT9C36EXmYQRCa0 W6TZ8IZ62DTPhhgkFG433fWX0iWMJDM7pdUXegFHvVsA6N9XzIR1jaF4NZfy+0XGGO9B Y7ymnX6QhBurPR4nx4iNG+2/wBNPADUk5Xnok= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date :references:x-mailer; b=VcSwFva2fGrmi1hUsBg9KaUbzh2e04yHQRG76KZwR7g00E8vQkNRfC/ziuVO0o1Uhl E9sNNDiXRpEMDXrdPObPYfUGwcMW4Kk6vbuMbyF6K4Ex6EwHLbyuDhEAgiPjrv7swqGU I7JC6LiEaMt38hnmmhMngrueVRelTG/PlUQmo= if (!BT.deviceCnt &&( (hal.GetTime() - BT.inquiryStartTime) > 10000)) { IOReturn err; err = IOBluetoothDeviceInquiryStop(BT.BTInquiry); if (err) DDC1("InquiryStop failed with %x\n", err); return 0; } BT.deviceCnt is the count I get back from the inquiry. In other words, it hasn't found any device after 10 seconds... --Daniel _______________________________________________ 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)
-
Daniel Birns