Re: [PATCH BlueZ 0/2] unit/gatt: Replace custom structs with gatt_db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux