Parent: e96a7fdd697bcba9046fd1afab75fd411c5cbf0d
Author: Sergey Bobrenok <sibobrenok@salutedevices.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-03-20 11:18:08
Tree: b8dddaa7340f6221445f8e2b8ef55e1640361416
main.conf: Introduce GATT.Client option General.ReverseServiceDiscovery option is responsible for two different things: 1. It disables SDP reverse discovering. As a side effect, some BR/EDR profiles cannot operate properly. E.g. AVRCP-target profile needs SDP results to determine the peer's AVRCP version. 2. It disables GATT-client creation back to the GATT connection initiator. It may be useful for peripheral devices, especially if the peer doesn't expect them to connect back (and currently some IOS versions don't). This behavior was introduced in 8de73cd12 ("main.conf: Make ReverseServiceDiscovery work with LE") For peripheral devices implementing only A2DP-sink, AVRCP-target, and GATT profiles (e.g. BT loudspeakers), it may be useful to disable GATT-client functionality, but still have SDP reverse discovering. Unfortunately, splitting the General.ReverseServiceDiscovery option into two different options will break backward compatibility on the configuration file level. So a new configuration option has been introduced in addition to the old one.
Diffstat
| M | src/btd.h | | | 1 | + |
| M | src/device.c | | | 4 | ++++ |
| M | src/main.c | | | 3 | +++ |
| M | src/main.conf | | | 7 | ++++++- |
4 files changed, 14 insertions(+), 1 deletions(-)