From 0d753f3a8fd1de89f9f43a6bdb69068fd420d905 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 2 Apr 2008 19:15:52 +0000 Subject: Add RequestMode sessions support. --- hcid/adapter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hcid/adapter.h') diff --git a/hcid/adapter.h b/hcid/adapter.h index 82e4f68c..f520f718 100644 --- a/hcid/adapter.h +++ b/hcid/adapter.h @@ -88,6 +88,7 @@ struct adapter { uint32_t discov_timeout; /* discoverable time(msec) */ uint8_t scan_enable; /* scan mode: SCAN_DISABLED, SCAN_PAGE, SCAN_INQUIRY */ uint8_t mode; /* off, connectable, discoverable, limited */ + uint8_t last_mode; /* last mode changed */ uint8_t class[3]; /* device class */ int discov_active; /* standard discovery active: includes name resolution step */ int pdiscov_active; /* periodic discovery active */ @@ -109,6 +110,7 @@ struct adapter { struct pending_dc_info *pending_dc; struct create_device_req *create; GSList *devices; /* Devices structure pointers */ + GSList *sessions; /* Request Mode sessions */ }; dbus_bool_t adapter_init(DBusConnection *conn, const char *path); -- cgit