client: Don't expose pointer value in attribute path
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 30 Jan 2019 13:24:18 +0000 (15:24 +0200)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 13:47:12 +0000 (19:17 +0530)
commit077c4b9178258ea34e715c0467b8549a6f7bee45
treea06ab63519c70690012047f1bbd39acfe2036d23
parent6956c8604abe182576520429683e9caa6a773bf3
client: Don't expose pointer value in attribute path

Instead use the position in the list to create a unique path:

[bluetooth]# register-service 0x1820
[NEW] Primary Service (Handle 0x0000)
/org/bluez/app/service0
0x1820
Internet Protocol Support

Change-Id: I79485003fd2b645ff5e8698c98f52ba4ae9ce8cd
Signed-off-by: himanshu <h.himanshu@samsung.com>
client/gatt.c