summaryrefslogtreecommitdiff
path: root/src/dbus-common.h
diff options
context:
space:
mode:
authorBruna Moreira <bruna.moreira@openbossa.org>2012-03-27 09:29:35 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-30 14:32:41 +0300
commit7c2a566b8a95fe3a701941c7d46ddccb14a78dae (patch)
treef0aa1a1ea718f6abc25e50f468496ba798d9c6a7 /src/dbus-common.h
parentc6fc73e1fac31b09a367414c64462d96123e4467 (diff)
downloadbluez-7c2a566b8a95fe3a701941c7d46ddccb14a78dae.tar.gz
dbus-common: Map GAP Appearance characteristic to icon
Add function appearance_to_icon() to map values from Appearance Characteristic to icon available. Note: The Appearance Characteristic is composed of a category (10-bits) and sub-categories (6-bits). These categories are defined at: http://developer.bluetooth.org/gatt/characteristics/Pages/ CharacteristicViewer.aspx?u=org.bluetooth.characteristic.gap.appearance.xml
Diffstat (limited to 'src/dbus-common.h')
-rw-r--r--src/dbus-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus-common.h b/src/dbus-common.h
index b196a1b82..b9531f2d4 100644
--- a/src/dbus-common.h
+++ b/src/dbus-common.h
@@ -45,3 +45,4 @@ void set_dbus_connection(DBusConnection *conn);
DBusConnection *get_dbus_connection(void);
const char *class_to_icon(uint32_t class);
+const char *gap_appearance_to_icon(uint16_t appearance);