/*
* By adding below condition, forcing to call check_chrcs_ready()
* function to check whether all char./extended properties are ready.
- * Above function would be called max. for 50 times (Assuming more
+ * Above function would be called max. for 500 times (Assuming more
* no of services). Emit signal only when all characteristics are ready.
*/
- if (all_chrcs_ready == FALSE && count < 50) {
+ if (all_chrcs_ready == FALSE && count < 500) {
count++;
return TRUE;
}
if (client->wait_charcs_id > 0)
g_source_remove(client->wait_charcs_id);
- client->wait_charcs_id = g_timeout_add(100,
+ client->wait_charcs_id = g_timeout_add(10,
check_all_chrcs_ready, client);
#endif
}