Commit Graph

29 Commits (e74543fa562d8b69f4cd482a6022eed2aba8ad08)

Author SHA1 Message Date
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
Olivier Martin ebe4e57591 Move bluez specific files to 'bluez/' directory 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
Olivier Martin 9c7382b215 Reduces compilation warnings 2017-01-30 11:52: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 36a267bfa7 Added Bluez pkg-config and expose its version to the build system 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