From 02223d1602c1728b3c94f68059d1b2e76d35dbd3 Mon Sep 17 00:00:00 2001 From: Andre Eisenbach Date: Tue, 9 Jul 2013 00:02:48 -0700 Subject: LE: Add instance ID to descriptors (3/4) If a remote devices offers multiple descriptors with the same UUID, the instance ID is used to differentiate between them. Change-Id: Ia5ab989f222a5cf1b7cb66966ad4f91f2b660708 --- include/hardware/bt_gatt_types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/hardware/bt_gatt_types.h') diff --git a/include/hardware/bt_gatt_types.h b/include/hardware/bt_gatt_types.h index fee9bb5..0ac217e 100644 --- a/include/hardware/bt_gatt_types.h +++ b/include/hardware/bt_gatt_types.h @@ -29,17 +29,17 @@ __BEGIN_DECLS #define BTGATT_SERVICE_TYPE_PRIMARY 0 #define BTGATT_SERVICE_TYPE_SECONDARY 1 -/** GATT Characteristic ID adding instance id tracking to the UUID */ +/** GATT ID adding instance id tracking to the UUID */ typedef struct { bt_uuid_t uuid; uint8_t inst_id; -} btgatt_char_id_t; +} btgatt_gatt_id_t; /** GATT Service ID also identifies the service type (primary/secondary) */ typedef struct { - btgatt_char_id_t id; + btgatt_gatt_id_t id; uint8_t is_primary; } btgatt_srvc_id_t; -- cgit v1.1