Setting descriptor in write characterstic in LE server 73/197173/1
authoragrkush <kush.agrawal@samsung.com>
Fri, 4 Jan 2019 13:58:10 +0000 (19:28 +0530)
committerAmit KS <amit.s12@samsung.com>
Thu, 10 Jan 2019 05:47:43 +0000 (11:17 +0530)
commit6d47b4c7140ce6c558f669a6bcd85d95bf77a1fc
tree34114c0cb1788a55199235164374ecf0a9e0ebb6
parent675718ee241a146085b4519616de50b4ea2d3ae7
Setting descriptor in write characterstic in LE server

This sequence of adding characterstics and descriptor works with
Android and Tizen both.
If we use the previous sequence of adding characterstics and descriptor
then Android writes on wrong attribute handle and fails.

Reverting changes done in LE Server in this patch:
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/d7a3c45d3ab7d4a0ee01a3a4fb639f5ba7f366f8

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/387
(cherry picked from commit 15e13a59345f37b53a6500fe7520d9e83d1da281)

Change-Id: I1e0a3a136a14807fc97d95c05116775421b73f51
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleserver_vd.c