char *uuid128_a;
char *uuid128_b;
- BT_INFO("UUID [%s]", uuid);
uuid128_a = _bt_convert_uuid_to_uuid128(uuid);
if (uuid128_a == NULL) {
BT_ERR("Wrong type of uuid : %s", uuid);
bt_get_uuid_name(uuid, &name);
BT_INFO("Find uuid : %s [%s]", uuid, name);
g_free(name);
+ for (l = list; l; l = g_slist_next(l)) {
+ bt_gatt_common_s *common = (bt_gatt_common_s *)l->data;
+ bt_get_uuid_name(common->uuid, &name);
+ BT_INFO("%s %s [%s]", common->path + 38, common->uuid, name);
+ g_free(name);
+ }
return BT_ERROR_NO_DATA;
}
*gatt_handle = l->data;
+
return BT_ERROR_NONE;
}
bt_gatt_handle_property_t chr_handle;
bt_gatt_service_s *service_s;
bt_gatt_client_s *client_s;
+#else
+ char *name = NULL;
+ bt_gatt_service_s *svc = (bt_gatt_service_s *)chr->parent;
#endif
BT_INFO("+");
client_s->client_id,
TRUE));
#else
+ bt_get_uuid_name(svc->uuid, &name);
ret = _bt_get_error_code(bluetooth_gatt_watch_characteristics(
- chr->path));
-
-
+ chr->path, name));
+ g_free(name);
#endif
if (ret != BT_ERROR_NONE)
BT_ERR("%s(0x%08x)",