projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79849f7
)
Set the write request type for gatt characteristic
22/180722/1
author
Amit Purwar
<amit.purwar@samsung.com>
Fri, 1 Jun 2018 09:41:16 +0000
(15:11 +0530)
committer
Amit Purwar
<amit.purwar@samsung.com>
Fri, 1 Jun 2018 09:50:48 +0000
(15:20 +0530)
Change-Id: Ie75eaeecb7aa784be8e01d6a5112ba52b173d2cb
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
b/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
index 3d47474f91781a05a08ca99198d243f2fbdbaaf0..649639e71864802a129a66339eba4255cd0aed24 100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
@@
-1064,6
+1064,7
@@
static void __bt_gatt_char_method_call(GDBusConnection *connection,
req_info->attr_path = g_strdup(object_path);
req_info->svc_path = g_strdup(svc_info->serv_path);
req_info->request_id = req_id;
+ req_info->request_type = BT_HAL_GATT_REQUEST_TYPE_READ;
req_info->offset = offset;
req_info->context = invocation;
@@
-1135,6
+1136,7
@@
static void __bt_gatt_char_method_call(GDBusConnection *connection,
req_info->attr_path = g_strdup(object_path);
req_info->svc_path = g_strdup(svc_info->serv_path);
req_info->request_id = req_id;
+ req_info->request_type = BT_HAL_GATT_REQUEST_TYPE_WRITE;
req_info->offset = offset;
req_info->context = invocation;