Olivier Martin
|
eca8415fd6
|
gattlib: Introduced gattlib_get_rssi()
Fix: #75
|
2019-07-09 12:34:32 +02:00 |
Olivier Martin
|
531477b941
|
gattlib-py: Fix disconnect API
|
2019-07-09 11:22:20 +02:00 |
Olivier Martin
|
43b5d9a113
|
.travis.yml: Fixed cross-compile builds
|
2019-07-09 11:03:02 +02:00 |
Olivier Martin
|
2b9d932792
|
CMakeLists.txt: Increase CMake version to prevent some CMake error with cross-compiler
See: https://cmake.org/cmake/help/v3.4/policy/CMP0065.html
|
2019-07-09 11:03:02 +02:00 |
Olivier Martin
|
e74543fa56
|
Initial Python support
|
2019-07-07 22:17:49 +02:00 |
Olivier Martin
|
a1ad48f20c
|
dbus: Fixed warnings
|
2019-07-07 22:17:49 +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
|
8438cd5c0d
|
dbus: Check if the Services are really resolved
|
2019-07-07 22:17:49 +02:00 |
Olivier Martin
|
1db0ab51a6
|
README.md: Added note about support
|
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
|
1e0e57070f
|
dbus: Wait for 'ServicesResolved' before telling we are connected
|
2019-06-27 22:27:39 +02:00 |
Olivier Martin
|
2accddb3c7
|
dbus: Catch error when there is no device present
|
2019-06-27 22:27:39 +02:00 |
Olivier Martin
|
9a665239a1
|
examples/read_write: Clarify error message
|
2019-06-27 22:27:39 +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
|
028004a8a1
|
examples: Use GATTLIB_ error code
|
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
|
2d81b253da
|
dbus: Add support for handle
|
2019-06-12 17:15:50 +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
|
683efaaca4
|
dbus: Fix new device discovery
We check for existing device activity to let the caller they are still present.
|
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
|
9bed1e17c8
|
dbus/gattlib.c: Ensure we register for 'property-changed' signals before making any method calls
|
2019-05-20 21:44:20 +02:00 |
Olivier Martin
|
d4e0c22792
|
CMakeLists.txt: Build firmware as Debug by default
|
2019-05-20 20:15:34 +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
|
e822d3268a
|
dbus: Ensure the timeout is removed when connected
|
2019-05-20 20:15:10 +02:00 |
Olivier Martin
|
d8fb10906b
|
dbus/gattlib.c: Do not list 'old' devices when scanning for BLE device
|
2019-05-20 20:14:54 +02:00 |
Olivier Martin
|
3a1e92ae5d
|
Update 'dev' tag on success
|
2019-05-19 11:44:47 +02:00 |
Olivier Martin
|
ca9725f806
|
dbus: Implement gattlib_connect_async()
|
2019-05-19 00:27:54 +02:00 |
Olivier Martin
|
510d650b85
|
gattlib_adapter_open: Ensure adapter pointer is not NULL
|
2019-05-19 00:27:54 +02:00 |
Olivier Martin
|
58d5dac125
|
requirements.dep: Add missing dependency
|
2019-05-19 00:16:13 +02:00 |
Olivier Martin
|
9db483bdcc
|
dbus/CMakeLists.txt: Fix Bluez pre-v5.40
|
2019-05-19 00:16:13 +02:00 |
Olivier Martin
|
60f3bc1c5a
|
.travis.yml: Use cross-sysroot to retrieve Linux Distribution packages for cross-compilation
|
2019-05-19 00:16:13 +02:00 |
Olivier Martin
|
98ac9e5d2b
|
gattlib: Introduce 'gattlib_register_on_disconnect()'
|
2019-05-03 09:47:58 +02:00 |
Olivier Martin
|
bcac05a811
|
examples/notification: Catch CTRL-C to exit properly
|
2019-05-03 09:47:18 +02:00 |
Olivier Martin
|
71f33207c7
|
dbus: Print error when failing
|
2019-05-03 09:47:02 +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
|
c2e48c3fd6
|
dbus: Add an error message when trying to access CCC through DBUS interface
|
2019-03-05 17:14:10 +01:00 |
Olivier Martin
|
10af2f1971
|
dbus/gattlib.c: Add support to read battery level from gattlib_read_char_by_uuid()
|
2019-03-05 16:58:13 +01:00 |
Olivier Martin
|
cbeca9d6c0
|
examples/notification: Exit cleanly notification example
|
2019-03-05 16:39:46 +01:00 |
Olivier Martin
|
62022bdab9
|
dbus/gattlib.c: Add support to disconnection from notification
|
2019-03-05 16:33:43 +01:00 |
Olivier Martin
|
ff07ac89f1
|
dbus: Add support for Bluez Battery Profile
|
2019-03-05 16:18:54 +01:00 |
Olivier Martin
|
532c405323
|
dbus/gattlib.c: Print error message on stderr
|
2019-03-05 16:15:14 +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
|
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 |
Olivier Martin
|
5a31a00871
|
CMakeLists.txt: Add error message when bluez package is not available
|
2019-03-05 13:04:10 +01:00 |
Milan Pandurov
|
1402183edd
|
bugfix: Passing user provided pointer to notification handler
Instead of connection object pointer, user should receive
pointer to context it registered in gattlib_register_notification
|
2019-03-04 09:16:35 +01:00 |
Philipp Finke
|
f0b1f7c5ef
|
Added support for multiple connections to devices
with same GATT. This fixes issue #29.
|
2019-01-30 16:30:54 +01:00 |