diff options
-rw-r--r-- | src/main.c | 5 | ||||
-rw-r--r-- | src/main.conf | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -195,9 +195,10 @@ static void parse_config(GKeyFile *config) boolean = g_key_file_get_boolean(config, "General", "ReverseServiceDiscovery", &err); - if (err) + if (err) { + debug("%s", err->message); g_clear_error(&err); - else + } else main_opts.reverse_sdp = boolean; main_opts.link_mode = HCI_LM_ACCEPT; diff --git a/src/main.conf b/src/main.conf index 5d49c7b3..c736e499 100644 --- a/src/main.conf +++ b/src/main.conf @@ -40,3 +40,9 @@ RememberPowered = true # Use vendor, product and version information for DID profile support. # The values are separated by ":" and VID, PID and version. #DeviceID = 1234:5678:abcd + +# Do reverse service discovery for previously unknown devices that connect to +# us. This option is really only needed for qualification since the BITE tester +# doesn't like us doing reverse SDP for some test cases (though there could in +# theory be other useful purposes for this too). Defaults to true. +ReverseServiceDiscovery = true |