Repository: incubator-mynewt-core Updated Branches: refs/heads/develop ea1c54702 -> f4a9711f5
MYNEWT-617 BLE Host - UUID-string conv missing '-' Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f4a9711f Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f4a9711f Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f4a9711f Branch: refs/heads/develop Commit: f4a9711f5ee922da0b90dd5a77f52ad9716d3c16 Parents: ea1c547 Author: Christopher Collins <[email protected]> Authored: Thu Feb 2 19:58:31 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Thu Feb 2 19:58:31 2017 -0800 ---------------------------------------------------------------------- net/nimble/host/src/ble_uuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f4a9711f/net/nimble/host/src/ble_uuid.c ---------------------------------------------------------------------- diff --git a/net/nimble/host/src/ble_uuid.c b/net/nimble/host/src/ble_uuid.c index 0a58a1a..028e227 100644 --- a/net/nimble/host/src/ble_uuid.c +++ b/net/nimble/host/src/ble_uuid.c @@ -105,7 +105,8 @@ ble_uuid_to_str(const ble_uuid_t *uuid, char *dst) case BLE_UUID_TYPE_128: u8p = BLE_UUID128(uuid)->value; - sprintf(dst, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x%02x%02x", + sprintf(dst, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-" + "%02x%02x%02x%02x%02x%02x", u8p[15], u8p[14], u8p[13], u8p[12], u8p[11], u8p[10], u8p[9], u8p[8], u8p[7], u8p[6], u8p[5], u8p[4],
