Commit Graph

195 Commits (5c7ee43bd70ee09a7170ddd55b9fdbdef69e9080)

Author SHA1 Message Date
Jon 5c7ee43bd7 fixed 'apt-install' to 'apt install'
i want my first commit
2019-11-19 08:17:53 +01:00
Daniels Umanovskis c6a3325222 dbus: Add support for reading manufacturer data from advertisement packets 2019-11-05 23:31:59 +01:00
Daniels Umanovskis d300b66ebd Make building docs optional - defaults to on 2019-10-29 15:44:25 +01:00
Johannes Bauer 1f6c89f0bf Fixed error message in notification example app
Fixed a small typo in which the newline was printed one character early
in an error message.
2019-09-28 15:00:47 +02:00
Olivier Martin 55d875438b CMakeLists.txt: Fixed build 2019-08-07 13:41:02 +02:00
Olivier Martin a5a45a9fad CMakeLists.txt: Fix implicitly converting 'BOOLEAN' to 'STRING' type. 2019-08-07 13:26:36 +02:00
Olivier Martin 42c9f2667d CMakeLists.txt: Fix version number 2019-08-05 14:42:07 +02:00
Olivier Martin 6a770e4349 gattlib-py: Introduce 'setup.py' 2019-08-05 13:33:11 +02:00
Olivier Martin 6ace06d3c5 dbus: Do not free value that has been freed by gdbus API 2019-08-05 09:16:41 +02:00
Olivier Martin 3b495609ed dbus: Remove non-necessary g_variant_builder_unref() as g_variant_builder_end() free it 2019-08-05 09:16:41 +02:00
Olivier Martin 53bb794a7d examples/read_write_memory: Added read/write for demonstrating memory management 2019-07-21 20:35:57 +02:00
Olivier Martin 967b46bb99 dbus: Remove more memory leak 2019-07-21 20:35:57 +02:00
Olivier Martin 51c6cbeee2 dbus: Reduce memory leak 2019-07-18 20:58:26 +02:00
Olivier Martin 3d433e3551 Initial generated documentation support 2019-07-15 23:33:13 +02:00
Olivier Martin e342e292fd gattlib.h: Make sure everything is converted 2019-07-15 23:33:13 +02:00
Olivier Martin 3dd0ab40b4 include/gattlib.h: Added documentation for Stream API 2019-07-15 18:04:11 +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 bcf0596abe README.md: Fixed BLUEZ_VERSION 2019-07-14 22:53:24 +02:00
Olivier Martin c956a5b151 .gitignore: Added '__pycache__' to ignore list 2019-07-14 22:47:06 +02:00
Olivier Martin fef6659af0 gattlib-py: Exposed 'Write-without-response' 2019-07-14 22:47:06 +02:00
Olivier Martin 3f829b806c gattlib-py: Check type of data for write() operation 2019-07-14 22:47:06 +02:00
Olivier Martin 2e6cc4c381 dbus/gattlib.c: Return NOT_FOUND when trying to stop notification not started 2019-07-14 22:47:06 +02:00
Olivier Martin e9b98f6dd7 gattlib-py: Disable gattlib_get_rssi() (see #75) 2019-07-14 22:47:06 +02:00
Olivier Martin 4e9b1094d4 gattlib-py/examples/nordic_thingy: Add example for sound support 2019-07-14 22:47:06 +02:00
Olivier Martin e5daed3484 CMakeLists.txt: Add support to specifying Bluez version at build time 2019-07-14 22:47:06 +02:00
Olivier Martin 4f8625cedf gattlib: Add stream API 2019-07-14 22:47:06 +02:00
Olivier Martin 2831cdf765 dbus: Added Bluez v5.48 DBUS API 2019-07-14 22:47:06 +02:00
Olivier Martin ca92375558 dbus: Move GATT characteristic code into 'gattlib_char.c' 2019-07-14 22:47:06 +02:00
Michael Rolland 4b9252bad1 gattlib: Fix disconnection handler type check 2019-07-11 17:54:56 +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 ebf3cc80fb gattlib-py/examples/nordic_thingy: Explicitely call 'discover()' 2019-07-09 20:04:35 +02:00
Olivier Martin d7a323ccd7 gattlib-py/gattlib/device.py: Fixed returned RSSI value 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 a9cd2d3c1a dbus: Refactor Adapter code 2019-07-09 20:04:35 +02:00
Olivier Martin d55898276d gattlib-py/examples: Added new Python sample 'find_eddystone' 2019-07-09 20:04:35 +02:00
Olivier Martin bca923366e gattlib-py: Added BLE Scan sample 2019-07-09 20:04:35 +02:00
Olivier Martin 40eec80170 include/gattlib.h: Added some function documentation 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 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