Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to remove "battery" plugin #336

Open
ukBaz opened this issue Jun 12, 2021 · 1 comment
Open

Document how to remove "battery" plugin #336

ukBaz opened this issue Jun 12, 2021 · 1 comment

Comments

@ukBaz
Copy link
Owner

ukBaz commented Jun 12, 2021

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
Copy link
Owner Author

ukBaz commented Sep 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant