Commit Graph

17 Commits (014c2802ee086eaddb483e3bd1141d1e2edaee70)

Author SHA1 Message Date
Olivier Martin 014c2802ee Refactor code to better separate gattlib_adapter_t, gattlib_device_t, gattlib_connection_t and their backends 2024-04-05 13:20:40 +02:00
Olivier Martin 5f43addb8f gattlib_disconnection: Added support to wait for the disconnection to be effective 2024-03-29 00:20:30 +01:00
Olivier Martin 5ca46ad208 examples: Port more examples to new API 2024-03-27 22:07:16 +01:00
Olivier Martin 0369342fd4 Introduce 'gattlib_characteristic_free_value()' to release memory allocated after reading GATT characteristic 2022-05-16 21:44:31 +02:00
Olivier Martin 1afaa8b460 Introduce Gattlib logging backend 2021-10-18 16:46:45 +02:00
Olivier Martin 9a665239a1 examples/read_write: Clarify error message 2019-06-27 22:27:39 +02:00
Olivier Martin 028004a8a1 examples: Use GATTLIB_ error code 2019-06-27 22:27:39 +02:00
Olivier Martin ceaa8a17e4 gattlib: Change gattlib_read_char_by_uuid() to return an allocated buffer that fits GATT value size 2019-05-27 22:25:46 +02:00
Olivier Martin c2a07a9139 Remove legacy options from `gattlib_connect()`
Legacy options can still be set from 'options' parameter.
2019-05-20 20:15:23 +02:00
Olivier Martin f9b92018f1 examples/read_write: Print an error message rather than an assert when the GATT characteristic is not found 2019-03-05 17:15:29 +01:00
Olivier Martin 846261120c examples/read_write: Fix hexadecimal value
Found by @kwikius in #74
2019-03-05 13:29:40 +01:00
Olivier Martin beed53a6ba gattlib.h: Changed prototype of 'gattlib_read_char_by_uuid' 2017-03-17 11:20:08 +01:00
Olivier Martin ee2fabaf3f Introduced 'gattlib_write_char_by_uuid' 2017-03-17 11:18:59 +01:00
Olivier Martin e11618bdeb example/read_write: Implement 'write' using characteristic's UUID 2017-02-22 12:17:53 +01:00
Olivier Martin ece340a193 gattlib.h: Removed dependency on internal Bluez headers 2017-02-08 18:36:51 +01:00
Olivier Martin 9c7382b215 Reduces compilation warnings 2017-01-30 11:52:54 +01:00
Olivier Martin 815bc72492 examples: Added examples to demonstrate gattlib 2016-04-28 11:33:54 +01:00