Commit Graph

405 Commits (master)

Author SHA1 Message Date
Olivier Martin 8e351e746c python: Introduce __version__ 2024-03-26 13:43:42 +01:00
Olivier Martin 6cea2d37db Ensure gattlib can be built without Python support 2024-03-25 12:43:17 +01:00
Olivier Martin 2a46780e96 Fix gattlib and examples 2024-03-18 00:19:44 +01:00
Olivier Martin b2c4094cb6 gattlib-py: Fix some memory leaks 2024-03-13 13:52:57 +01:00
Olivier Martin d2fb01d85e Fix gattlib connection release on disconnection 2024-03-13 13:52:57 +01:00
Olivier Martin 98833bf7ce gattlib-py/gattlib/mainloop: Ensure we are not overwriting the mainloop 2024-03-13 13:52:57 +01:00
Olivier Martin 6823c02892 dbus: Improve logging 2024-03-13 13:52:57 +01:00
Olivier Martin 7925aa6a38 Fix compilation warnings about enum type 2024-03-12 20:38:31 +01:00
Olivier Martin 2edc8f2620 Add support to enable Address Sanitizer 2024-03-12 20:37:53 +01:00
Olivier Martin 36e0cb4934 Add more debug logs 2024-03-07 23:58:35 +01:00
Olivier Martin 24ab0ea95f Reduce compilation warnings 2024-03-07 23:57:58 +01:00
Olivier Martin e26e9f0b7a Fix some compiler warnings 2024-03-07 08:53:42 +01:00
Olivier Martin 6e718253b0 adapter: Add support to avoid double free of BLE adapter 2024-03-06 15:03:56 +01:00
Olivier Martin ea1fe15857 gattlib: Catch connectio timeout 2024-03-05 22:46:38 +01:00
Olivier Martin 00cbc1ab87 common: Set pointer to NULL after freeing them 2024-02-27 11:28:49 +01:00
Olivier Martin d2702050ec gattlib-py: Add support for loading 'libgattlib.so' from different location 2024-02-26 23:19:10 +01:00
Olivier Martin f4cc321a90 dbus/gattlib_adapter: Stop BLE scan before waiting for the loop to stop 2024-02-26 23:16:35 +01:00
Olivier Martin 6321d28d25 gattlib-py/setup.py: Add gattlib-py dependency 2024-02-23 10:20:21 +01:00
Olivier Martin f0426ae3e3 gattlib-py/gattlib: Fix loading native library 2024-02-22 22:26:43 +01:00
Olivier Martin ebd163f1dc ci: Push tagged gattlib to Pypi repo 2024-02-22 21:33:19 +01:00
Olivier Martin 01ea87aa16 Disable C examples as they are not ported yet to new gattlib_connect() 2024-02-22 19:54:43 +01:00
Olivier Martin f38f73a9a4 gattlib: Change gattlib_connect to better use event loop 2024-02-22 19:54:43 +01:00
Olivier Martin e554dec3dc gattlib_adapter: Improve/Fix BLE scan 2024-02-22 19:54:43 +01:00
Olivier Martin 100c5d5f69 gattlib_adapter: Introduce wait_scan_loop_stop_scanning 2024-02-22 19:54:43 +01:00
Olivier Martin 860f7f5b61 ci: Fix tagged release 2024-02-22 19:30:58 +01:00
Olivier Martin 13bd692bb4 ci: Generate Python package with cibuildwheel 2024-02-22 13:28:22 +01:00
Olivier Martin 18e1658d6f ci: Fix build 2024-02-22 09:30:22 +01:00
Olivier Martin d3d9600114 cmake: Specify cmake version + Fix finding Python development module 2024-02-22 09:30:22 +01:00
Olivier Martin 5f5cb5bd12 common/logging_backend: Introduce Python backend 2024-02-22 09:30:22 +01:00
Olivier Martin 6751a17cee .github/workflows/github-actions.yml: Fix Pypi publishing 2024-02-21 18:01:19 +01:00
Olivier Martin 57c99c6038 .github/workflows/github-actions.yml: Update actions/checkout 2024-02-21 17:53:59 +01:00
Olivier Martin b8268c4cb5 ci: Generate Python package 2024-02-21 17:45:09 +01:00
Olivier Martin fbd65421d0 Ensure adapter is present 2024-02-21 00:28:08 +01:00
Olivier Martin 61043afd98 gattlib-py: Use logger (instead of logging) 2024-02-21 00:28:08 +01:00
Olivier Martin aacc53c511 Fix warnings from release build 2024-02-21 00:28:08 +01:00
Olivier Martin 7d5748cb0d ci: Script to generate Python package 2024-02-21 00:28:08 +01:00
Olivier Martin 33a634a535 gattlib-py/setup.py: Build C files along Python module 2024-02-21 00:28:08 +01:00
Olivier Martin 2f83e85eee dbus: Remove event_thread 2024-02-19 18:00:52 +01:00
Olivier Martin 1530184776 gattlib_adapter: Add support to reconnect disconnected device 2024-02-19 18:00:52 +01:00
Olivier Martin b28a0422f0 dbus: Add support to remove device property signal 2024-02-19 18:00:52 +01:00
Olivier Martin b193543fb0 gattlib/mainloop: Move mainloop to Python to ease support 2024-02-19 18:00:52 +01:00
Olivier Martin 7a8d53d817 gattlib-py/gattlib/exception: Print 'le-connection-abort-by-local' on related exception 2024-02-19 18:00:52 +01:00
Olivier Martin 7922810016 gattlib-py/gattlib/device: Fix logging 2024-02-19 18:00:52 +01:00
Olivier Martin 8e5412a1a9 gattlib-py: Ensure BLE adapter is opened 2024-02-19 18:00:52 +01:00
Olivier Martin c4e4b8fa5a dbus/gattlib_notification: Use lookup instead of looping through variant keys 2024-02-19 18:00:52 +01:00
Olivier Martin 76fb44643f gattlib-py/setup.py: Remove Travis CI support 2024-02-19 18:00:52 +01:00
Olivier Martin 0a868a506b Added a public function to ease the use of GLib mainloop 2024-02-19 18:00:52 +01:00
Olivier Martin 4c5f35f15f error: Introduce error module to catch DBUS error details 2024-02-15 22:00:06 +01:00
Olivier Martin ad7aa1899e on_handle_device_property_change: Logging changes 2024-02-15 22:00:06 +01:00
Olivier Martin f894c8e23a gattlib_disconnect: Add mutex to avoid double free 2024-02-15 22:00:06 +01:00