2003-05-22 16:21:15

by Marcel Holtmann

[permalink] [raw]
Subject: [Bluez-devel] Changes to inquiry

Hello,

the inquiry process have some problems if devices report Bluetooth
addresses more than once. This can be seen with the Nokia cards. The
kernel inside inquiry cache is able to handle this, but the number of
responses parameter will mess this up. The most problem case is if you
want to set the number of inquiry responses to zero, which means
unlimted number of inquiry reponses until the specified time is over.

Currently a value of zero will be recoded as 200, but if you use a large
time value this number can be reached very quick and not all devices
will be found. I suppose the attached change to the Bluetooth library
and fix the kernel code to dump up to 255 devices if the num_rsp
parameter is zero.

Comments?

Regards

Marcel


Attachments:
patch-libs-inq (665.00 B)