Fix dbus error in GATT read/write request 95/134095/2
authorGowtham Anandha Babu <gowtham.ab@samsung.com>
Wed, 14 Jun 2017 12:11:54 +0000 (17:41 +0530)
committerGowtham Anandha Babu <gowtham.ab@samsung.com>
Wed, 14 Jun 2017 12:21:58 +0000 (12:21 +0000)
commit6b30c26a8c57343bf5e728b6783f1ee9d2196ad4
treef13fcf2ad9f9c48558d1f389fb12b9f65e1d3566
parent59372a27fbc814bcb950c56ea017f13328cd292e
Fix dbus error in GATT read/write request

The below error is captured on bt-frwk.
Error : GDBus.Error:org.bluez.Error.Failed: Error return with body of type '(sy)':

Bluez sends the reply in (sy). But what we want is only att_ecode.
After fix, the application will get the proper att_ecode for
GATT read/write request.

Change-Id: Ib6abf0acd44fa70740913308b2d9748e34f39fab
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
src/gatt-client.c