From d4d196b65a9232000c369153f2de5411e4f3099d Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Wed, 22 Aug 2012 23:38:44 +0200 Subject: [PATCH] Increased inquiry time and number of responses --- BTD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTD.cpp b/BTD.cpp index 23c9988b..e97da014 100644 --- a/BTD.cpp +++ b/BTD.cpp @@ -824,8 +824,8 @@ void BTD::hci_inquiry() { hcibuf[3] = 0x33; // LAP: Genera/Unlimited Inquiry Access Code (GIAC = 0x9E8B33) - see https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm hcibuf[4] = 0x8B; hcibuf[5] = 0x9E; - hcibuf[6] = 0x0A; // Inquiry time = 12.8 sec - hcibuf[7] = 0x03; // 3 number of responses + hcibuf[6] = 0x30; // Inquiry time = 61.44 sec (maximum) + hcibuf[7] = 0x0A; // 10 number of responses HCI_Command(hcibuf, 8); }