Commit Graph

  • f99558d9b8 gattlib-py: Make pylint pass (and fix issue) master 0.7.2 Olivier Martin 2024-04-24 13:10:55 +0200
  • b3c5d2d1ed common/gattlib_common: Add support to compare short UUID with long one Olivier Martin 2024-04-24 10:46:06 +0200
  • 9fb48aacb6 gattlib-py/examples/advertisement_data: Fix example Olivier Martin 2024-04-24 10:22:15 +0200
  • dbe599dbfb examples/notification: Port example to new gattlib API Olivier Martin 2024-04-24 10:21:09 +0200
  • 2f248a92bb gattlib-py: Make pylint pass (and fix issue) Olivier Martin 2024-04-24 13:10:55 +0200
  • ec55ccb265 common/gattlib_common: Add support to compare short UUID with long one Olivier Martin 2024-04-24 10:46:06 +0200
  • 94117297c1 gattlib-py/examples/advertisement_data: Fix example Olivier Martin 2024-04-24 10:22:15 +0200
  • 88d53ed36f examples/notification: Port example to new gattlib API Olivier Martin 2024-04-24 10:21:09 +0200
  • f79e90ce02 gattlib-py: Added support for manufacturer data from GATT advertising 0.7.1 Olivier Martin 2024-04-11 22:00:24 +0200
  • 35566d198a gattlib-py: Fix setup.py when building source package Olivier Martin 2024-04-11 20:48:51 +0200
  • f4ed88eb31 mainloop/gattlib_glib_mainloop: Fix non initialized variable Olivier Martin 2024-04-11 16:29:18 +0200
  • aaab2dc74e gattlib_adapter_close: Do not block mutex while waiting for scan_loop_thread to complete 0.7.0 Olivier Martin 2024-04-10 11:07:10 +0200
  • 880f1d2cd0 Add support to retrieve all manufacturer data from GATT advertisement packets Olivier Martin 2024-04-10 10:33:10 +0200
  • 8a108495a1 Change 'gattlib_devices_dump_state()' to 'gattlib_adapter_dump_state()' Olivier Martin 2024-04-10 10:00:27 +0200
  • 880ff269e5 gattlib_char: Ensure there is no buffer overflow when we initialize list of GATT characteristic Olivier Martin 2024-04-09 10:40:36 +0200
  • 76353f8659 Do not build Python support by default and build examples by default Olivier Martin 2024-04-09 09:53:08 +0200
  • db04a0eb5c Introduce gattlib_connection_is_valid() to not access 'connection->device' Olivier Martin 2024-04-08 22:00:36 +0200
  • 2d771d9390 Fix gattlib_connection_is_connected Olivier Martin 2024-04-08 12:57:22 +0200
  • 5406a97e57 More logging Olivier Martin 2024-04-08 12:32:46 +0200
  • 4acf4aa0ab connection: Ensure device_object_path is not freed multiple time Olivier Martin 2024-04-08 12:32:36 +0200
  • f609f7d507 adapter: Added support to open multiple time the same adapter Olivier Martin 2024-04-08 12:32:06 +0200
  • dc009029fa Log when the adapter or device has been released Olivier Martin 2024-04-08 10:12:03 +0200
  • cdd62f6d35 Return specific error code when the adapter or device has been removed Olivier Martin 2024-04-08 10:08:57 +0200
  • 0e34df58e5 Single lock for all gattlib library 0.6.0 Olivier Martin 2024-04-05 13:25:51 +0200
  • 014c2802ee Refactor code to better separate gattlib_adapter_t, gattlib_device_t, gattlib_connection_t and their backends Olivier Martin 2024-04-05 11:43:21 +0200
  • 22dca4511c Require a lower version of cmake (same version as Ubuntu 22.04 LTS) Olivier Martin 2024-04-05 10:25:54 +0200
  • 5049443704 Ensure the connection structure is not freed when used by the connection thread 0.5.2 Olivier Martin 2024-04-04 23:48:43 +0200
  • a587aa9dfa gattlib_connect: Set the device has DISCONNECTED on error 0.5.1 Olivier Martin 2024-04-04 21:54:28 +0200
  • 67ff1de69b gattlib-py/adapter: Catch error on opening/closing BLE adapter 0.5.0 latest-fixes Olivier Martin 2024-04-04 10:27:41 +0200
  • 53e6c2c7ae tests: Added new test that try to connect/disconnect a same device Olivier Martin 2024-04-03 23:50:58 +0200
  • fcedfb9e85 gattlib_adapter: Improve BLE scan code with comments and renaming Olivier Martin 2024-04-03 23:14:18 +0200
  • b57d9546df gattlib_glib_mainloop: Ensure mainloop is initialized before using it Olivier Martin 2024-04-03 21:47:14 +0200
  • 2e99c4f1b6 dbus: Handle when the device is removed from DBUS Olivier Martin 2024-04-03 17:37:06 +0200
  • 709b76019e Manage device state during its life cycle Olivier Martin 2024-04-03 17:36:17 +0200
  • 0c1334c5b4 Consolidate device list between discovered and connected devices Olivier Martin 2024-04-03 15:57:47 +0200
  • aa6a7b79bb Consolidate device state to prevent concurrent accesses Olivier Martin 2024-04-03 15:16:38 +0200
  • fab0e8fa67 Consolidate device mutex Olivier Martin 2024-04-03 15:11:00 +0200
  • ce52533f39 Rename structure 'gattlib_connection_t' to '_gattlib_device' Olivier Martin 2024-04-03 15:07:13 +0200
  • 2861549a80 ci/generate-python-package.sh: Fix script when no MANIFEST.in Olivier Martin 2024-04-03 21:12:33 +0200
  • 7758bae7d4 ci: Automatically create a release on tag 0.4.13 Olivier Martin 2024-04-03 20:05:54 +0200
  • 42c97d4767 Added new Gattlib error types Olivier Martin 2024-04-03 15:15:05 +0200
  • aac4e069c9 CMakeLists.txt: Add DEBUG flag when building DEBUG build Olivier Martin 2024-04-03 19:57:19 +0200
  • 8f17232216 Update ".gitignore" Olivier Martin 2024-04-03 15:03:48 +0200
  • 86f9a742f3 Ensure connection timeout is freed when the connection is free 0.4.12 Olivier Martin 2024-03-29 09:18:53 +0100
  • 50dca02e97 Update README 0.4.11 Olivier Martin 2024-03-28 13:51:11 +0100
  • 6cdbe58e7b FixMe: Disable freeing the handler - there is a pointer ref counter not valid when doing so Olivier Martin 2024-03-29 00:17:50 +0100
  • db629448fd Use calloc() instead of malloc() when allocating 'struct' or array in memory Olivier Martin 2024-03-28 14:26:22 +0100
  • 5f43addb8f gattlib_disconnection: Added support to wait for the disconnection to be effective Olivier Martin 2024-03-28 11:52:57 +0100
  • a85dd83015 Consolidate handlers Olivier Martin 2024-03-28 10:17:30 +0100
  • 5ca46ad208 examples: Port more examples to new API Olivier Martin 2024-03-27 22:07:16 +0100
  • f3f6bb37bb Generate packages 0.4.10 Olivier Martin 2024-03-26 17:57:07 +0100
  • 56a7d4e88f Generate packages create-package Olivier Martin 2024-03-26 17:57:07 +0100
  • 5d9a36f1d1 logging_backend/python: Do not call 'GATTLIB_LOG(GATTLIB_ERROR, ...)' on error to avoid recursion Olivier Martin 2024-03-26 15:53:36 +0100
  • 6e6436ceb3 gattlib_adapter: Check if 'is_scanning' before stopping BLE scan Olivier Martin 2024-03-26 13:42:52 +0100
  • 5ba3eda6f5 dbus/gattlib_adapter: Use mutex to get device manager Olivier Martin 2024-03-26 13:38:54 +0100
  • 8e351e746c python: Introduce __version__ Olivier Martin 2024-03-26 13:16:51 +0100
  • a288685096 python: Introduce __version__ Olivier Martin 2024-03-26 13:16:51 +0100
  • 6cea2d37db Ensure gattlib can be built without Python support Olivier Martin 2024-03-25 12:19:52 +0100
  • 3fc4330952 Ensure gattlib can be built without Python support ensure-it-build-without-python-support Olivier Martin 2024-03-25 12:19:52 +0100
  • 6f1bb8a959
    Merge 17c43abc47 into 2a46780e96 jdavidberger 2024-03-19 10:18:52 +0800
  • 2a46780e96 Fix gattlib and examples 0.4.9 Olivier Martin 2024-03-17 15:24:32 +0100
  • b2c4094cb6 gattlib-py: Fix some memory leaks 0.4.8 Olivier Martin 2024-03-13 13:49:13 +0100
  • d2fb01d85e Fix gattlib connection release on disconnection Olivier Martin 2024-03-13 13:33:07 +0100
  • 98833bf7ce gattlib-py/gattlib/mainloop: Ensure we are not overwriting the mainloop Olivier Martin 2024-03-13 13:00:48 +0100
  • 6823c02892 dbus: Improve logging Olivier Martin 2024-03-13 12:57:28 +0100
  • 7925aa6a38 Fix compilation warnings about enum type Olivier Martin 2024-03-12 20:38:31 +0100
  • 2edc8f2620 Add support to enable Address Sanitizer Olivier Martin 2024-03-12 20:25:09 +0100
  • 36e0cb4934 Add more debug logs 0.4.7 Olivier Martin 2024-03-07 23:58:35 +0100
  • 24ab0ea95f Reduce compilation warnings Olivier Martin 2024-03-07 23:57:58 +0100
  • e26e9f0b7a Fix some compiler warnings 0.4.6 Olivier Martin 2024-03-07 08:53:42 +0100
  • 6e718253b0 adapter: Add support to avoid double free of BLE adapter Olivier Martin 2024-03-06 15:03:56 +0100
  • ea1fe15857 gattlib: Catch connectio timeout 0.4.5 Olivier Martin 2024-03-05 22:46:38 +0100
  • 00cbc1ab87 common: Set pointer to NULL after freeing them 0.4.4 Olivier Martin 2024-02-27 11:28:49 +0100
  • d2702050ec gattlib-py: Add support for loading 'libgattlib.so' from different location 0.4.3 Olivier Martin 2024-02-26 23:19:10 +0100
  • f4cc321a90 dbus/gattlib_adapter: Stop BLE scan before waiting for the loop to stop Olivier Martin 2024-02-26 23:16:35 +0100
  • 6321d28d25 gattlib-py/setup.py: Add gattlib-py dependency 0.4.2 Olivier Martin 2024-02-23 10:20:21 +0100
  • f0426ae3e3 gattlib-py/gattlib: Fix loading native library 0.4.1 Olivier Martin 2024-02-22 22:26:43 +0100
  • ebd163f1dc ci: Push tagged gattlib to Pypi repo 0.4.0 Olivier Martin 2024-02-22 20:13:06 +0100
  • 01ea87aa16 Disable C examples as they are not ported yet to new gattlib_connect() Olivier Martin 2024-02-22 19:54:06 +0100
  • f38f73a9a4 gattlib: Change gattlib_connect to better use event loop Olivier Martin 2024-02-22 19:52:48 +0100
  • e554dec3dc gattlib_adapter: Improve/Fix BLE scan Olivier Martin 2024-02-22 19:44:09 +0100
  • 100c5d5f69 gattlib_adapter: Introduce wait_scan_loop_stop_scanning Olivier Martin 2024-02-22 19:43:33 +0100
  • 860f7f5b61 ci: Fix tagged release Olivier Martin 2024-02-22 13:46:07 +0100
  • 13bd692bb4 ci: Generate Python package with cibuildwheel Olivier Martin 2024-02-22 09:35:15 +0100
  • 769a8e34b5 ci: Generate Python package with cibuildwheel Olivier Martin 2024-02-22 09:35:15 +0100
  • 18e1658d6f ci: Fix build Olivier Martin 2024-02-21 23:22:52 +0100
  • d3d9600114 cmake: Specify cmake version + Fix finding Python development module Olivier Martin 2024-02-21 22:57:50 +0100
  • 5f5cb5bd12 common/logging_backend: Introduce Python backend Olivier Martin 2024-02-22 00:17:09 +0100
  • 2e7b65dc24 ci: Fix build Olivier Martin 2024-02-21 23:22:52 +0100
  • 992b14c630 cmake: Specify cmake version + Fix finding Python development module Olivier Martin 2024-02-21 22:57:50 +0100
  • 8d788b3ec9 common/logging_backend: Introduce Python backend Olivier Martin 2024-02-22 00:17:09 +0100
  • 5a6de9a901 ci: Fix build ci-generate-python Olivier Martin 2024-02-21 23:22:52 +0100
  • d533aeb221 ci: Generate Python package 'mainlinux' Olivier Martin 2024-02-21 23:12:22 +0100
  • b3c23068cc cmake: Specify cmake version + Fix finding Python development module Olivier Martin 2024-02-21 22:57:50 +0100
  • 6751a17cee .github/workflows/github-actions.yml: Fix Pypi publishing Olivier Martin 2024-02-21 17:54:32 +0100
  • 57c99c6038 .github/workflows/github-actions.yml: Update actions/checkout Olivier Martin 2024-02-21 17:53:59 +0100
  • b8268c4cb5 ci: Generate Python package Olivier Martin 2024-02-21 10:07:30 +0100
  • cdddc9681a ci: Generate Python package Olivier Martin 2024-02-21 10:07:30 +0100
  • fbd65421d0 Ensure adapter is present Olivier Martin 2024-02-20 23:23:39 +0100
  • 61043afd98 gattlib-py: Use logger (instead of logging) Olivier Martin 2024-02-20 23:25:39 +0100