diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-14 07:37:57 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-14 07:37:57 +0000 |
commit | 4009a83023b266dd0cfa3fd5b9cba7d02dae944a (patch) | |
tree | 32e96c5714a98fab5f575a6cb171e42c01e6e135 /hcid/dbus.h | |
parent | 7bfc46464d3c9c68bb0718d07f0d95764afb8c3b (diff) |
Change parameter for mode selection to string
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r-- | hcid/dbus.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h index 373976dc..bbbb3d0a 100644 --- a/hcid/dbus.h +++ b/hcid/dbus.h @@ -206,17 +206,18 @@ int get_default_dev_id(void); #define DEV_SIG_DISCOVER_COMPLETE "DiscoverComplete" #define DEV_SIG_DISCOVER_RESULT "DiscoverResult" -/* FIXME: Change to string +/* * Scanning modes, used by DEV_SET_MODE * off: remote devices are not allowed to find or connect to this device * connectable: remote devices are allowed to connect, but they are not * allowed to find it. * discoverable: remote devices are allowed to connect and find this device + * unknown: reserved to not allowed/future modes */ -#define MODE_OFF 0x00 -#define MODE_CONNECTABLE 0x01 -#define MODE_DISCOVERABLE 0x02 - +#define MODE_OFF "off" +#define MODE_CONNECTABLE "connectable" +#define MODE_DISCOVERABLE "discoverable" +#define MODE_UNKNOWN "unknown" /* BLUEZ_DBUS_ERROR * EFailed error messages signature is : su |