Open ukBaz opened 3 years ago
In /etc/bluetooth/main.conf
there is the option called ReverseServiceDiscovery
. In the latest version of this file in the source tree the comments have been updated to mention how the option is useful when operating as a peripheral.
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/src/main.conf#n32
# Do reverse service discovery for previously unknown devices that connect to
# us. For BR/EDR this option is really only needed for qualification since the
# BITE tester doesn't like us doing reverse SDP for some test cases, for LE
# this disables the GATT client functionally so it can be used in system which
# can only operate as peripheral.
# Defaults to 'true'.
#ReverseServiceDiscovery = true
Changing this value to false
may be a better way of solving the problem.
When a peripheral device is created with BlueZ it can cause an unwanted pairing requests when used with iOS Devices. Update the documentation around peripherals and examples to link to #335 so people can configure their system correctly.