Commit Graph

342 Commits (ea1fe15857722b35e5f2e533a052b16b975f8f97)

Author SHA1 Message Date
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
Olivier Martin 7f6979c82b gatt_notification: Use thread pool of one thread to ensure serial processing of notification 2024-02-15 22:00:06 +01:00
Olivier Martin db8aee543b dbus/on_handle_characteristic_indication: Fix logging 2024-02-15 22:00:06 +01:00
Olivier Martin 8065d12dac python: Various fixes 2024-02-15 22:00:06 +01:00
Olivier Martin 011f4e4c4a gattlib_disconnect: Call on_disconnect callback 2024-02-15 22:00:06 +01:00
Olivier Martin 0fde4ff82d gattlib_adapter_close: Ensure BLE scan is disabled 2024-02-15 22:00:06 +01:00
Olivier Martin 9a9e49edcd dbus/on_interface_proxy_properties_changed: Check device_manager is not NULL (could happen on disconnection) 2024-02-15 22:00:06 +01:00
Olivier Martin 959ee55b61 gattlib: Change gattlib_register_(on_disconnect|notification|indication) 2024-02-15 22:00:06 +01:00
Olivier Martin 118dc961d6 gattlib_on_disconnected_device: Make callback synchronous 2024-02-15 22:00:06 +01:00
Olivier Martin 2518348023 gattlib: Introduce 'gattlib_adapter_get_name()' 2024-02-12 22:35:46 +01:00
Olivier Martin 884904a3c0 dbus/gattlib_adapter: Fix 'gattlib_adapter_close()' 2024-02-12 22:35:46 +01:00
Olivier Martin 1d80061bf2 python: Fix callback back to native gattlib 2024-02-12 22:04:57 +01:00
Olivier Martin ec9e5cd38a dbus: Fix build 2024-02-12 09:52:07 +01:00
Olivier Martin d5aa8d6468 Fix logging for on_interface_proxy_properties_changed() 2024-02-12 00:13:07 +01:00