gboolean is_notify;
int fd = -1;
int mtu = 0;
+ gboolean is_indicate;
memset(¶m, 0x00, sizeof(bluetooth_gatt_client_char_prop_info_t));
sizeof(int));
__bt_service_get_parameters(in_param3, &is_notify,
sizeof(gboolean));
+ __bt_service_get_parameters(in_param4, &is_indicate,
+ sizeof(gboolean));
-
- if (is_notify == true) {
+ if (is_indicate == false) {
result = _bt_gatt_acquire_notify(¶m , &fd, &mtu);
if (BLUETOOTH_ERROR_NONE == result && fd > -1) {
BT_INFO("GATT Client: Save Invocation data for characteristic props app[%s] fd[ %d]", sender, fd);