BT_DBG("value of char = %d",char_value);
g_byte_array_append(gb_array, &char_value, 1);
}
+ g_variant_iter_free(char_value_iter);
+
if (gb_array->len != 0) {
characteristic->val = g_malloc0(gb_array->len *
sizeof(unsigned char));
while (g_variant_iter_loop(char_desc_iter, "&o", &char_desc_handle)) {
g_ptr_array_add(gp_array, (gpointer)char_desc_handle);
}
+ g_variant_iter_free(char_desc_iter);
if (gp_array->len != 0) {
characteristic->char_desc_handle.count = gp_array->len;
characteristic->char_desc_handle.handle =
BT_DBG("value of descriptor = %d",char_value);
g_byte_array_append(gb_array, &char_value, 1);
}
+ g_variant_iter_free(desc_value_iter);
if (gb_array->len != 0) {
descriptor->val = g_malloc0(gb_array->len *
sizeof(unsigned char));
&characteristic->description[i]);
BT_DBG("description = %s", characteristic->description);
}
+ g_variant_iter_free(desc_value_iter);
break;
case CLIENT_CONF :
BT_DBG(" CLIENT_CONF");
BT_DBG("Descriptor %s", descriptor);
}
}
+ g_variant_iter_free(iter);
+
/* TODO: Store the service informationa and
* Send respponse to CAPI layer. */
break;
}
}
+ g_variant_iter_free(property_iter);
+
g_free(property);
g_variant_unref(value);
g_free(obj_main_channel_path);
app_handle = g_variant_dup_string (value, &len);
}
}
+ g_variant_iter_free(property_iter);
g_variant_unref(reply);
BT_DBG("QOS = %s, Device = %s, Apphandler = %s",
while(g_variant_iter_loop(char_value_iter, "y", &char_value)) {
g_byte_array_append(manufacturer_data, &char_value, 1);
}
+ g_variant_iter_free(char_value_iter);
+
if (manufacturer_data) {
if (manufacturer_data->len > 0) {
memcpy(dev_info->manufacturer_data.data, manufacturer_data->data,
}
}
}
+ g_variant_iter_free(property_iter);
BT_DBG("trust: %d, paired: %d", trust, paired);