Commit Graph

127 Commits (3a1e92ae5d6071d8064230c6f62563d56116e042)

Author SHA1 Message Date
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
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 0f8c02c6a6 travis-ci: Add libcre-dev to armhf and arm64 2018-01-03 15:10:48 +01:00
Marcus Georgi 096acbe837 explicitly link gattlib library in examples 2018-01-03 14:15:29 +01:00
Marcus Georgi 647f3d3c10 explicitly link to pthread and libpcre in examples
- omitting this causes linker errors when cross-compiling
2018-01-03 14:15:17 +01: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
Olivier Martin 5b08f051d8 travis-ci: Allow to overwrite artifacts as the 'dev' ones need to be overwritten 2018-01-03 13:21:31 +01:00
Olivier Martin f4e09c0fd6 README.md: Update development package links 2018-01-03 13:08:39 +01:00
Olivier Martin 72a13512a0 travis-ci: Skip TRAVIS_TAG from package name as we change the version number when using the tag 'dev' 2018-01-03 12:57:30 +01:00
Olivier Martin 2a8fee224d CMakeLists.txt: Ensure '0.2-dev' tag is used when building 'dev' tag
Debian based distributions do not like package version without number.
2018-01-03 12:11:41 +01:00
Olivier Martin 91f9e93522 travis-ci: Update Debian dependancies 2018-01-03 12:05:08 +01:00
Olivier Martin 3d7802af21 CMakeLists.txt: Print version that is building to ease debugging on travis CI system 2018-01-03 11:57:41 +01:00
Olivier Martin 6ab868245e Fixed travis by updating libc-dev version 2017-10-08 22:16:05 +02:00
csl 56a8b24153 Correct order of arguments to org_bluez_gatt_characteristic1_call_write_value_sync 2017-10-07 23:46:13 +02:00
csl 01d5c51a0c Fix problem with gvariant formatting causing GLib format errors 2017-09-08 17:18:53 +02:00
Olivier Martin 4af454d026 travis: Update ARM Libc for cross-compilation 2017-09-08 17:08:10 +02:00
Olivier Martin 82684b107e Merge pull request #39 from kinemic/debian_architecture_crosscompile
do not use dpkg to change deb arch when crosscompiling
2017-07-27 12:18:04 +02:00
Olivier Martin ce6e6a687d Merge pull request #38 from kinemic/non_travis_versioning
prepend the non-travis version with a number
2017-07-27 12:17:20 +02:00
Marcus Georgi cd6701dc08 do not use dpkg to change deb arch when crosscompiling 2017-07-25 13:47:50 +02:00
Marcus Georgi 3751fd3587 prepend the non-travis version with a number
- otherwise the built deb can't be installed
2017-07-19 14:57:22 +02:00
Olivier Martin 8e159b683d Merge pull request #32 from mweal-ed/get_uuid_from_handle
get_uuid_from_handle returns wrong uuid #30 fix
2017-07-12 17:39:58 +02:00
mikew-ed 6332cb807c get_uuid_from_handle returns wrong uuid #30 fix 2017-07-10 07:35:50 -07:00
Olivier Martin d3ca083826 README.md: Added latest binaries 2017-07-02 17:22:42 +02:00
Olivier Martin a8ff524171 travis-ci: Fixed deployment script 2017-07-02 16:23:53 +02:00
Olivier Martin 6361b818e5 Debian: Force Bluez version in package dependency 2017-07-02 15:44:19 +02:00
Olivier Martin c890f64dd9 dbus: Added support for Bluez DBus API v5.40 2017-07-02 15:36:09 +02:00
Olivier Martin 2e88aec8e1 Initial travis-ci support 2017-07-02 15:01:31 +02:00