shared/gatt-client: Automatically add CCC when discovering
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 26 Aug 2019 11:51:44 +0000 (14:51 +0300)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commitf9891548cbf0230674a2704e91fd749bf5f0aa73
treefe3ea323e60d83d0013d90b3278ea063bc627b2d
parentc75c5db480de519cb05e85d2ec37e2f1a461db1b
shared/gatt-client: Automatically add CCC when discovering

The spec mandates that a CCC exists if either notify or indicate
property is marked:

BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part G page 2357

  "If set, the Client Characteristic Configuration Descriptor shall
  exist."

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