mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Increased inquiry time and number of responses
This commit is contained in:
parent
7eb2f39597
commit
d4d196b65a
1 changed files with 2 additions and 2 deletions
4
BTD.cpp
4
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[3] = 0x33; // LAP: Genera/Unlimited Inquiry Access Code (GIAC = 0x9E8B33) - see https://www.bluetooth.org/Technical/AssignedNumbers/baseband.htm
|
||||||
hcibuf[4] = 0x8B;
|
hcibuf[4] = 0x8B;
|
||||||
hcibuf[5] = 0x9E;
|
hcibuf[5] = 0x9E;
|
||||||
hcibuf[6] = 0x0A; // Inquiry time = 12.8 sec
|
hcibuf[6] = 0x30; // Inquiry time = 61.44 sec (maximum)
|
||||||
hcibuf[7] = 0x03; // 3 number of responses
|
hcibuf[7] = 0x0A; // 10 number of responses
|
||||||
|
|
||||||
HCI_Command(hcibuf, 8);
|
HCI_Command(hcibuf, 8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue