Olivier Martin
825fc4d07c
gattlib: Introduce indefinite scan timeout
2020-04-09 10:33:27 +02:00
Olivier Martin
a8a06114e2
bluez: Fix warning
2020-04-08 22:30:54 +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
193c86590e
gattlib: Introduce helper function to select Eddystone devices
2019-07-15 18:04:11 +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
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
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
120f6e0886
bluez: Minor coding style change
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
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
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
510d650b85
gattlib_adapter_open: Ensure adapter pointer is not NULL
2019-05-19 00:27:54 +02:00
Olivier Martin
7ad64704cb
bluez: Fix buffer length in gattlib_write_char_by_uuid()
...
Issue found by @kwikius in #74 and @mweal-ed in #35 .
2019-03-05 13:22:15 +01: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
Thomas Li Fredriksen
a370ea5f02
Fixed sub-project include-path interface
2018-01-03 13:45:28 +01:00
Thomas Li Fredriksen
d6a87e47a9
Fixed examples linker issue (missing pthread link). Added two cmake-options GATTLIB_BUILD_EXAMPLES and GATTLIB_SHARED_LIB
2018-01-03 13:45:28 +01:00
mikew-ed
6332cb807c
get_uuid_from_handle returns wrong uuid #30 fix
2017-07-10 07:35:50 -07:00
Olivier Martin
2e88aec8e1
Initial travis-ci support
2017-07-02 15:01:31 +02:00
Olivier Martin
0ee021f531
Fixed build for Bluez v4.101
2017-03-17 11:35:13 +01:00
Olivier Martin
a40b8f9724
Select gattlib backend (bluez code or DBus API) following Bluez version
2017-03-17 11:20:08 +01: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
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
74972ae011
Move UUID API to gattlib_common.c
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
Olivier Martin
1e68512f3b
Renamed 'bluez' into 'bluez4'
2017-01-30 22:33:22 +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
d9e67b829b
bluez/log.c: Replace 'VERSION' by 'BLUEZ_VERSION_MAJOR.BLUEZ_VERSION_MINOR'
2016-05-02 19:17:06 +01:00
Olivier Martin
ee58e4cb64
bluez/btio: Added option BT_IO_OPT_TIMEOUT
2016-05-02 19:16:28 +01:00
Olivier Martin
69da222e3a
Fix Gattlib with Bluez v4.99
2016-05-02 09:41:02 +01:00
Olivier Martin
f2fea05138
bluez: Remove GATT server specific functions
2016-04-28 11:45:31 +01:00
Olivier Martin
fc58fc0307
Created initial gattlib support
2016-04-28 11:33:54 +01:00
Olivier Martin
52d92587a5
bluez/lib: Added 'libbluetooth-private.la' source files
2016-04-28 00:47:06 +01:00