diff --git a/src/hcid.h b/src/hcid.h
index 552d63b..62e2bd6 100644
--- a/src/hcid.h
+++ b/src/hcid.h
struct main_opts {
char *name;
uint32_t class;
- uint16_t autoto;
uint32_t pairto;
uint32_t discovto;
uint8_t privacy;
diff --git a/src/main.c b/src/main.c
index fc50bbd..21f0b14 100644
--- a/src/main.c
+++ b/src/main.c
"Class",
"DiscoverableTimeout",
"PairableTimeout",
- "AutoConnectTimeout",
"DeviceID",
"ReverseServiceDiscovery",
"NameResolving",
main_opts.pairto = val;
}
- val = g_key_file_get_integer(config, "General", "AutoConnectTimeout",
- &err);
- if (err) {
- DBG("%s", err->message);
- g_clear_error(&err);
- } else {
- DBG("auto_to=%d", val);
- main_opts.autoto = val;
- }
-
str = g_key_file_get_string(config, "General", "Privacy", &err);
if (err) {
DBG("%s", err->message);
diff --git a/src/main.conf b/src/main.conf
index ba17405..21986b3 100644
--- a/src/main.conf
+++ b/src/main.conf
# 0 = disable timer, i.e. stay pairable forever
#PairableTimeout = 0
-# Automatic connection for bonded devices driven by platform/user events.
-# If a platform plugin uses this mechanism, automatic connections will be
-# enabled during the interval defined below. Initially, this feature
-# intends to be used to establish connections to ATT channels. Default is 60.
-#AutoConnectTimeout = 60
-
# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.