projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753deda
)
Fixed the custom service UUID parsing
54/213554/4
accepted/tizen/unified/20190918.010258
submit/tizen/20190916.233704
author
Amit Purwar
<amit.purwar@samsung.com>
Fri, 6 Sep 2019 13:31:00 +0000
(19:01 +0530)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Mon, 16 Sep 2019 23:35:56 +0000
(08:35 +0900)
Change-Id: I0ed330d820e09b740d2125963d81a6c92c553fca
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
bt-oal/bluez_hal/src/bt-hal-utils.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-utils.c
b/bt-oal/bluez_hal/src/bt-hal-utils.c
index
588af9f
..
16cbd49
100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-utils.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-utils.c
@@
-56,9
+56,10
@@
const char *bt_uuid_t2str(const uint8_t *uuid, char *buf)
buf[i * 2 + shift] = '-';
shift++;
}
- snprintf(buf + i * 2 + shift, (
HAL_UUID
_LEN -(i * 2 + shift)), "%02x", uuid[i]);
+ snprintf(buf + i * 2 + shift, (
MAX_UUID_STR
_LEN -(i * 2 + shift)), "%02x", uuid[i]);
}
+ ERR("uuid %s", buf);
return buf;
}