Fix issue where gatt service can not be found 48/309548/1 accepted/tizen/7.0/unified/20240415.143233
authorWootak Jung <wootak.jung@samsung.com>
Fri, 12 Apr 2024 05:49:00 +0000 (14:49 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 12 Apr 2024 05:49:00 +0000 (14:49 +0900)
Fix issue where the inst id was set incorrectly for handle exceeding 255.

Change-Id: If1bb2aa943ac1855ff51fadd18389d992bb4f1e9
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-oal/hardware/bt_gatt_types.h

index 289b543..318901d 100644 (file)
@@ -38,7 +38,7 @@ __BEGIN_DECLS
 /** GATT ID adding instance id tracking to the UUID */
 typedef struct {
        bt_uuid_t           uuid;
-       uint8_t             inst_id;
+       uint16_t            inst_id;
 } btgatt_gatt_id_t;
 
 /** GATT Service ID also identifies the service type (primary/secondary) */