Hi Michael, On Thu, Dec 4, 2014 at 7:03 PM, Michael Janssen <jamuraa@xxxxxxxxxxxx> wrote: > These patches replace the custom structs in test-gatt with building an > appropriate gatt_db and comparing the rebuilt client gatt_db with the source. > > This set replaces service_data_1 with a gatt_db made by make_service_1_db(), > which is still closely tied to the SERVICE_DATA_1_PDU. > > Michael Janssen (2): > unit/gatt: Use gatt_db for test data > Remove unused old test db structures > > unit/test-gatt.c | 425 +++++++++++++++++++++++++++++-------------------------- > 1 file changed, 226 insertions(+), 199 deletions(-) > > -- > 2.2.0.rc0.207.ga3a616c Applied after changing add_char_with_value, gatt_db_service_add_characteristic returns you the value attribute so you can write directly to it. -- Luiz Augusto von Dentz -- 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