Olivier Martin
|
53e6c2c7ae
|
tests: Added new test that try to connect/disconnect a same device
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
fcedfb9e85
|
gattlib_adapter: Improve BLE scan code with comments and renaming
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
b57d9546df
|
gattlib_glib_mainloop: Ensure mainloop is initialized before using it
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
2e99c4f1b6
|
dbus: Handle when the device is removed from DBUS
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
709b76019e
|
Manage device state during its life cycle
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
0c1334c5b4
|
Consolidate device list between discovered and connected devices
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
aa6a7b79bb
|
Consolidate device state to prevent concurrent accesses
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
fab0e8fa67
|
Consolidate device mutex
|
2024-04-03 21:13:33 +02:00 |
Olivier Martin
|
ce52533f39
|
Rename structure 'gattlib_connection_t' to '_gattlib_device'
|
2024-04-03 21:13:33 +02:00 |
Olivier Martin
|
2861549a80
|
ci/generate-python-package.sh: Fix script when no MANIFEST.in
|
2024-04-03 21:13:33 +02:00 |
Olivier Martin
|
7758bae7d4
|
ci: Automatically create a release on tag
|
2024-04-03 20:06:46 +02:00 |
Olivier Martin
|
42c97d4767
|
Added new Gattlib error types
|
2024-04-03 20:06:46 +02:00 |
Olivier Martin
|
aac4e069c9
|
CMakeLists.txt: Add DEBUG flag when building DEBUG build
|
2024-04-03 20:06:46 +02:00 |
Olivier Martin
|
8f17232216
|
Update ".gitignore"
|
2024-04-03 15:03:48 +02:00 |
Olivier Martin
|
86f9a742f3
|
Ensure connection timeout is freed when the connection is free
|
2024-03-29 09:18:53 +01:00 |
Olivier Martin
|
50dca02e97
|
Update README
|
2024-03-29 00:20:41 +01:00 |
Olivier Martin
|
6cdbe58e7b
|
FixMe: Disable freeing the handler - there is a pointer ref counter not valid when doing so
|
2024-03-29 00:20:41 +01:00 |
Olivier Martin
|
db629448fd
|
Use calloc() instead of malloc() when allocating 'struct' or array in memory
|
2024-03-29 00:20:30 +01:00 |
Olivier Martin
|
5f43addb8f
|
gattlib_disconnection: Added support to wait for the disconnection to be effective
|
2024-03-29 00:20:30 +01:00 |
Olivier Martin
|
a85dd83015
|
Consolidate handlers
|
2024-03-29 00:19:56 +01:00 |
Olivier Martin
|
5ca46ad208
|
examples: Port more examples to new API
|
2024-03-27 22:07:16 +01:00 |
Olivier Martin
|
f3f6bb37bb
|
Generate packages
|
2024-03-26 18:55:58 +01:00 |
Olivier Martin
|
5d9a36f1d1
|
logging_backend/python: Do not call 'GATTLIB_LOG(GATTLIB_ERROR, ...)' on error to avoid recursion
|
2024-03-26 16:49:19 +01:00 |
Olivier Martin
|
6e6436ceb3
|
gattlib_adapter: Check if 'is_scanning' before stopping BLE scan
|
2024-03-26 13:46:31 +01:00 |
Olivier Martin
|
5ba3eda6f5
|
dbus/gattlib_adapter: Use mutex to get device manager
|
2024-03-26 13:46:31 +01:00 |
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 |