Szymon :
On 08/30/2012 03:43 PM, Szymon Janc wrote:
On Thursday 30 of August 2012 15:38:04 Chen Ganir wrote:
static GSList *gatt_services = NULL;
+static const struct characteristic_info *get_char_info(const char* uuid)
I would leave this function returning name directly and not whole struct characteristic_info.
Why ? We have this struct with characteristic information (maybe later
we'll add more information. Why limit ourselves to name only ?
If you plan to add more data into that structure then it is OK to return whole struct.
But if only name is to be used, then I would just call that function get_name() and
return name.
For now, i believe this is the only information we have for the
characteristic. I will send an updated patch.
BR,
Chen Ganir
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html