Modify GATT tools for Certification 17/277117/1 accepted/tizen/6.5/unified/20220707.134142 submit/tizen_6.5/20220701.023001
authorDohyun Pyun <dh79.pyun@samsung.com>
Fri, 1 Jul 2022 01:53:54 +0000 (10:53 +0900)
committerDohyun Pyun <dh79.pyun@samsung.com>
Fri, 1 Jul 2022 01:53:54 +0000 (10:53 +0900)
Change-Id: I38b0573bc084fc4fcd5ef7aafe2fbb07282d756f
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
attrib/interactive.c

index 62a25fa..b91f402 100755 (executable)
@@ -313,6 +313,11 @@ static void char_read_cb(guint8 status, const guint8 *pdu, guint16 plen,
        int i;
        GString *s;
 
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+       if (opt_mtu == 100)
+               status = ATT_ECODE_AUTHORIZATION;
+#endif
+
        if (status != 0) {
                error("Characteristic value/descriptor read failed: %s\n",
                                                        att_ecode2str(status));