Commit Graph

43 Commits (f4ecc64d2979d99a067a2095cc96278820f74841)

Author SHA1 Message Date
Olivier Martin f4ecc64d29 Clarify and update license 2021-09-01 00:04:00 +02:00
Olivier Martin 825fc4d07c gattlib: Introduce indefinite scan timeout 2020-04-09 10:33:27 +02:00
Olivier Martin c0215ee4ce gattlib: Introduce GATTLIB_DISCOVER_FILTER_NOTIFY_CHANGE 2020-04-09 10:33:27 +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 392d9d5eb3 gattlib.h: Add Eddystone constants 2020-04-07 12:29:19 +02:00
Vanshil Shah 08ce1b3303 Make indications work properly 2020-03-29 12:12:48 +02:00
Olivier Martin e342e292fd gattlib.h: Make sure everything is converted 2019-07-15 23:33:13 +02:00
Olivier Martin 3dd0ab40b4 include/gattlib.h: Added documentation for Stream API 2019-07-15 18:04:11 +02:00
Olivier Martin 193c86590e gattlib: Introduce helper function to select Eddystone devices 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 4f8625cedf gattlib: Add stream API 2019-07-14 22:47:06 +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 a42f76aa7d gattlib: Added 'adapter' and 'user_data' parameter to 'gattlib_discovered_device_t' callback 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 40eec80170 include/gattlib.h: Added some function documentation 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 8020503ab6 gattlib: Added support for write-without-response 2019-07-05 22:50:23 +02:00
Olivier Martin 50401ad1c5 include/gattlib.h: Allow to call gattlib_discover_primary() with NULL arguments 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 c479cec21f include/gattlib.h: Unify error code 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 98ac9e5d2b gattlib: Introduce 'gattlib_register_on_disconnect()' 2019-05-03 09:47:58 +02: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
Olivier Martin cfe5613d0d gattlib.h: Added 'const' to buffer for 'gattlib_write_char_by_(uuid|handle)' 2017-03-17 11:20:08 +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 80f9884ae0 gattlib.h: Introduced CREATE_UUID16() 2017-03-17 11:20:08 +01:00
Olivier Martin 4dde0c3698 gattlib.h: Introduced gattlib_notification_(start|stop) 2017-03-17 11:20:08 +01: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 ee2fabaf3f Introduced 'gattlib_write_char_by_uuid' 2017-03-17 11:18:59 +01:00
Olivier Martin e880df8e01 gattlib: Added support for adapter to enable/disable scanning 2017-03-17 11:18:58 +01:00
Olivier Martin d998e0072a dbus: Make gattlib based on D-Bus 2017-03-17 11:18:55 +01:00
Olivier Martin 076067a2d7 include/gattlib.h: Remove dependency on glib.h 2017-03-14 12:51:33 +01:00
Jonas Böer 1434b741ec gattlib: added extern "C" {} around header 2017-03-01 12:28:36 +01:00
Olivier Martin ecad887c2e gattlib: Introduced 'gattlib_uuid_cmp()' 2017-02-22 12:02:47 +01:00
Olivier Martin ece340a193 gattlib.h: Removed dependency on internal Bluez headers 2017-02-08 18:36:51 +01:00
Olivier Martin 9c43746ec6 gattlib: Added support for Bluez 4 and 5 2017-01-31 22:38:54 +01:00
eidheim 427bad8904 Fixes #1: corrected bluetooth/uuid.h includes. Also added missing .gitignore file. 2017-01-27 14:47:39 +01:00
Olivier Martin 69da222e3a Fix Gattlib with Bluez v4.99 2016-05-02 09:41:02 +01:00
Olivier Martin 183bf5015a gattlib: Added connection specific 'user_data' parameter to notification/indication handlers
The notification/indication handlers are also now connection specific.
2016-04-28 23:44:40 +01:00
Olivier Martin fc58fc0307 Created initial gattlib support 2016-04-28 11:33:54 +01:00