diff options
author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2013-07-29 11:42:49 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-07-30 12:59:12 +0300 |
commit | 1208266dccd2f5061a3e669c04585727a9b0fb43 (patch) | |
tree | 67332e247a461cad5eef4d9cac71bb8fd58a2351 /plugins | |
parent | f3e175bd7884c7c84b68b7167d5e4dc805d374c5 (diff) |
attrib: Rename GATT_OPT_CHR_UUID into GATT_OPT_CHR_UUID16
Rename the option for all in-tree users. This frees up GATT_OPT_CHR_UUID to be used
for UUIDs of type bt_uuid_t* (in a next patch).
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gatt-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c index 37972e826..b92694773 100644 --- a/plugins/gatt-example.c +++ b/plugins/gatt-example.c @@ -114,7 +114,7 @@ static gboolean register_battery_service(struct btd_adapter *adapter) return gatt_service_add(adapter, GATT_PRIM_SVC_UUID, &uuid, /* battery state characteristic */ - GATT_OPT_CHR_UUID, BATTERY_STATE_UUID, + GATT_OPT_CHR_UUID16, BATTERY_STATE_UUID, GATT_OPT_CHR_PROPS, ATT_CHAR_PROPER_READ | ATT_CHAR_PROPER_NOTIFY, GATT_OPT_CHR_VALUE_CB, ATTRIB_READ, |