diff --git a/src/hcid.h b/src/hcid.h
index 5752da9..3dfaf10 100644
--- a/src/hcid.h
+++ b/src/hcid.h
struct main_opts {
char host_name[40];
- unsigned long flags;
char *name;
uint32_t class;
- uint16_t pageto;
uint16_t autoto;
uint32_t discovto;
uint32_t pairto;
uint16_t did_version;
};
-enum {
- HCID_SET_PAGETO,
-};
-
extern struct main_opts main_opts;
gboolean plugin_init(const char *enable, const char *disable);
diff --git a/src/main.c b/src/main.c
index 7922222..01f5d22 100644
--- a/src/main.c
+++ b/src/main.c
"Class",
"DiscoverableTimeout",
"PairableTimeout",
- "PageTimeout",
"AutoConnectTimeout",
"DeviceID",
"ReverseServiceDiscovery",
main_opts.pairto = val;
}
- val = g_key_file_get_integer(config, "General", "PageTimeout", &err);
- if (err) {
- DBG("%s", err->message);
- g_clear_error(&err);
- } else {
- DBG("pageto=%d", val);
- main_opts.pageto = val;
- main_opts.flags |= 1 << HCID_SET_PAGETO;
- }
-
val = g_key_file_get_integer(config, "General", "AutoConnectTimeout",
&err);
if (err) {
diff --git a/src/main.conf b/src/main.conf
index 8bb82f6..d605ef4 100644
--- a/src/main.conf
+++ b/src/main.conf
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0
-# Use some other page timeout than the controller default one
-# which is 16384 (10 seconds).
-PageTimeout = 8192
-
# 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