Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7688f360 authored by lpoulain's avatar lpoulain Committed by Yong Yao
Browse files

Bluedroid: Fix UUID unsigned/signed comparison



UUID type was never detected as a 16 bits UUID due to a comparison
between signed and unsigned char in uuidType().

Change-Id: I6205ab4c2568f03b4692e0ce8a1dec216f1cdc0e
Signed-off-by: default avatarlpoulain <loic.poulain@intel.com>
Signed-off-by: default avatarYong Yao <yong.yao@intel.com>
parent 38e0db57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
#define GATTC_READ_VALUE_TYPE_VALUE          0x0000  /* Attribute value itself */
#define GATTC_READ_VALUE_TYPE_AGG_FORMAT     0x2905  /* Characteristic Aggregate Format*/

static char BASE_UUID[16] = {
static unsigned char BASE_UUID[16] = {
    0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80,
    0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};