- /* SVC uuid */
- svc_uuid = g_memdup(&event_data->uuid_status.srvc_id.id.uuid.uuid[0], uuid_len);
-
- data_svc_uuid = g_variant_new_from_data(
- G_VARIANT_TYPE_BYTESTRING,
- svc_uuid,
- 16,
- TRUE, NULL, NULL);
-
- /* Char uuid */
- char_uuid = g_memdup(&event_data->uuid_status.char_id.uuid.uuid[0], uuid_len);
-
- data_char_uuid = g_variant_new_from_data(
- G_VARIANT_TYPE_BYTESTRING,
- char_uuid,
- 16,
- TRUE, NULL, NULL);
- param = g_variant_new("(isn@ayin@ayin@ay)", result,
- conn_info->addr,
- 16,
- data_svc_uuid,
- event_data->uuid_status.srvc_id.id.inst_id,
- 16,
- data_char_uuid,
- event_data->uuid_status.char_id.inst_id,
- event_data->data_len,
- data);
-
- /* Send Event */
- _bt_send_event(BT_GATT_CLIENT_EVENT,
- BLUETOOTH_EVENT_GATT_READ_CHAR,
- param);