python-bluezero icon indicating copy to clipboard operation
python-bluezero copied to clipboard

Document how to remove "battery" plugin

Open ukBaz opened this issue 4 years ago • 1 comments

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.

ukBaz avatar Jun 12 '21 06:06 ukBaz

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.

ukBaz avatar Sep 04 '21 06:09 ukBaz