Commit Graph

22 Commits (f4ecc64d2979d99a067a2095cc96278820f74841)

Author SHA1 Message Date
Olivier Martin f4ecc64d29 Clarify and update license 2021-09-01 00:04:00 +02:00
vlefebvre d66e268865 fix glib CRITICAL warning
In the case when we deal with the timeout/error result, the resource
has lready been unref

Signed-off-by: vlefebvre <valentin.lefebvre@iot.bzh>
2021-05-28 22:29:40 +02:00
Olivier Martin 71c4e71952 gattlib: Pass 'adapter' rather than MAC address to gattlib_connect() 2020-04-08 22:30:54 +02:00
Olivier Martin 50129fe753 bluez: Returns GATTLIB_ errors 2019-07-15 18:04:11 +02:00
Olivier Martin 69fb243fe7 gattlib: Implement `gattlib_get_advertisement_data()` 2019-07-15 18:04:11 +02:00
Olivier Martin 0142c33dd8 gattlib: Disable gattlib_get_rssi() for now
This API has been disabled until this issue is clarified: https://github.com/labapart/gattlib/issues/75
RSSI can be accessed through `gattlib_get_rssi_from_mac()` before the
connection is established.
2019-07-09 20:04:35 +02:00
Olivier Martin a52f66834a gattlib: Introduce 'gattlib_get_rssi_from_mac()' 2019-07-09 20:04:35 +02:00
Olivier Martin 2ae549f9d6 gattlib: Introduce gattlib_adapter_scan_enable_with_filter() 2019-07-09 20:04:35 +02:00
Olivier Martin eca8415fd6 gattlib: Introduced gattlib_get_rssi()
Fix: #75
2019-07-09 12:34:32 +02:00
Olivier Martin 046f077085 gattlib: Move 'struct _gatt_connection_t' out of 'gattlib.h' 2019-07-07 22:17:49 +02:00
Olivier Martin e3ff819872 Reduce memory leaks 2019-05-21 21:40:55 +02:00
Olivier Martin 54f06b64f5 Check allocations are successfull 2019-05-21 21:40:55 +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 3ce4632d1c bluez/gattlib_connect.c: Make intentation consistent 2019-03-05 13:15:22 +01:00
Olivier Martin 60b813a770 Fix stack-based bufferoverflow
Fix: #81
Fix: #82
2019-03-05 13:11:50 +01:00
Daniel Vlasenko 7a2fdbd062 andded user data pointer gatt_connect_async signature. these data will be passed to gatt_connect_cb callback to get information about object requested connection 2018-10-18 09:10:55 +02:00
mikew-ed 6332cb807c get_uuid_from_handle returns wrong uuid #30 fix 2017-07-10 07:35:50 -07:00
Olivier Martin 5391388201 gattlib.h: Pass 'uuid' instead of 'handle' to 'gattlib_event_handler_t' 2017-03-17 11:20:08 +01:00
Olivier Martin 1655e8c329 gattlib.h: Hide implementation specific attributes in gatt_connection_t.context 2017-03-17 11:20:08 +01:00
Olivier Martin 74972ae011 Move UUID API to gattlib_common.c 2017-03-17 11:18:59 +01:00
Olivier Martin 076067a2d7 include/gattlib.h: Remove dependency on glib.h 2017-03-14 12:51:33 +01:00
Olivier Martin ebe4e57591 Move bluez specific files to 'bluez/' directory 2017-03-14 12:51:33 +01:00