Commit Graph

195 Commits (5c7ee43bd70ee09a7170ddd55b9fdbdef69e9080)

Author SHA1 Message Date
Olivier Martin 07a4e011da bluez(4|5): Fixed ambiguity with variable names 2017-02-18 17:38:36 +01:00
Olivier Martin ed3ff0627f src/gattlib_connect: Prevent Glib warning
Fix warning as explained in this thread: http://www.spinics.net/lists/linux-bluetooth/msg67617.html
2017-02-18 17:13:35 +01:00
Olivier Martin a5d4655922 Merge pull request #9 from oliviermartin/master
bluez5: Fixed for undefined 'bswap_128'
2017-02-08 23:07:11 +01:00
Olivier Martin 671267e266 bluez5: Fixed for undefined 'bswap_128'
'bswap_128' has only be introduced in Bluez 5.29.
We use 'lib/bluetooth.h' instead of '/usr/include/bluetooth/bluetooth.h'
2017-02-08 22:47:23 +01:00
Olivier Martin 45e7a8066c Increase the level of warnings and fix few of them 2017-02-08 19:16:51 +01:00
Olivier Martin bd5d8daa92 examples/gattool: Make the code compliant with C90 2017-02-08 19:16:51 +01:00
Olivier Martin 4a0b3903fb Merge pull request #8 from oliviermartin/master
gattlib.h: Removed dependency on internal Bluez headers
2017-02-08 18:40:22 +01:00
Olivier Martin ece340a193 gattlib.h: Removed dependency on internal Bluez headers 2017-02-08 18:36:51 +01:00
Olivier Martin 21541e755c README.md: Added Bluez5 support 2017-01-31 22:42:57 +01:00
Olivier Martin 751ea82bda bluez5: Replaced 'g_io_add_watch_full' by 'gattlib_watch_connection_full' 2017-01-31 22:38:55 +01:00
Olivier Martin f1aa5b0ede examples/gatttool: Added support for Bluez5 2017-01-31 22:38:55 +01:00
Olivier Martin 98eca71225 examples/ble_scan: Add support for Bluez5 2017-01-31 22:38:55 +01:00
Olivier Martin f152b8d04e bluez5/btio: Added option BT_IO_OPT_TIMEOUT 2017-01-31 22:38:55 +01:00
Olivier Martin e802d4ab50 bluez5: Ported to Gattlib 2017-01-31 22:38:55 +01:00
Olivier Martin 9c43746ec6 gattlib: Added support for Bluez 4 and 5 2017-01-31 22:38:54 +01:00
Olivier Martin 48f3ab4e5f CMakeLists.txt: Check if we are building for Bluez 4 or 5 2017-01-31 22:38:54 +01:00
Olivier Martin 58c547fe9e Added Bluez5 support 2017-01-31 22:38:54 +01:00
Olivier Martin 1e68512f3b Renamed 'bluez' into 'bluez4' 2017-01-30 22:33:22 +01:00
Olivier Martin 9c7382b215 Reduces compilation warnings 2017-01-30 11:52:54 +01:00
Olivier Martin 7f32f5c346 README.md: Add the list of dependencies 2017-01-30 11:52:12 +01:00
Olivier Martin 3bce76b270 Merge pull request #5 from eidheim/master
Fixes #1: corrected bluetooth/uuid.h includes. Also added missing .gi…
2017-01-28 15:15:26 +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 411dc8633f Prepare new v0.2 release 2016-05-02 19:20:41 +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 4db0060a3b src/gattlib_connect.c: Set the timeout to avoid waiting 20 seconds if the connection is not setup 2016-05-02 19:16:29 +01:00
Olivier Martin f9adbe5b09 Added 'ble_scan' example 2016-05-02 19:16:29 +01:00
Olivier Martin ee58e4cb64 bluez/btio: Added option BT_IO_OPT_TIMEOUT 2016-05-02 19:16:28 +01:00
Olivier Martin 36ff478c3e CMake: Added cross-compilation support 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 36a267bfa7 Added Bluez pkg-config and expose its version to the build system 2016-05-02 09:41:02 +01:00
Olivier Martin db5ffbf47d README.md: Added 'Known limitations' 2016-04-29 10:30:09 +01:00
Olivier Martin 15defc8f7d example/gatttool: Updated notification_handler registration 2016-04-28 23:44:49 +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 c5622cc385 gattlib_connect: Zero gatt_connection_t at its initialization 2016-04-28 23:44:33 +01:00
Olivier Martin ccea65dbae CMakeLists.txt: Fixed package description summary 2016-04-28 18:56:49 +01:00
Olivier Martin 0c77aec7c9 README.md: Added link to release packages 2016-04-28 12:08:48 +01:00
Olivier Martin 80f3055dd3 gattlib.pc.in: Introduce pkg-config template file 2016-04-28 11:45:31 +01:00
Olivier Martin f2fea05138 bluez: Remove GATT server specific functions 2016-04-28 11:45:31 +01:00
Olivier Martin 236b3f43d5 Initial README.md file 2016-04-28 11:45:31 +01:00
Olivier Martin 815bc72492 examples: Added examples to demonstrate gattlib 2016-04-28 11:33:54 +01:00
Olivier Martin fc58fc0307 Created initial gattlib support 2016-04-28 11:33:54 +01:00
Olivier Martin cc27526fdc CMakeLists.txt: Added 'libbluetooth-private.la' source files 2016-04-28 00:47:06 +01:00
Olivier Martin 52d92587a5 bluez/lib: Added 'libbluetooth-private.la' source files 2016-04-28 00:47:06 +01:00
Olivier Martin 17053dff9b CMakeLists.txt: Added initial CMake file 2016-04-28 00:47:06 +01:00
Olivier Martin 81ef1df6ca bluez: Copy bluez 4.101 GATT files 2016-04-27 23:56:56 +01:00