Olivier Martin
|
0e34df58e5
|
Single lock for all gattlib library
|
2024-04-08 00:15:16 +02:00 |
Olivier Martin
|
014c2802ee
|
Refactor code to better separate gattlib_adapter_t, gattlib_device_t, gattlib_connection_t and their backends
|
2024-04-05 13:20:40 +02:00 |
Olivier Martin
|
a587aa9dfa
|
gattlib_connect: Set the device has DISCONNECTED on error
|
2024-04-04 21:54:28 +02:00 |
Olivier Martin
|
709b76019e
|
Manage device state during its life cycle
|
2024-04-04 12:03:29 +02:00 |
Olivier Martin
|
fab0e8fa67
|
Consolidate device mutex
|
2024-04-03 21:13:33 +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
|
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
|
d2fb01d85e
|
Fix gattlib connection release on disconnection
|
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
|
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
|
ea1fe15857
|
gattlib: Catch connectio timeout
|
2024-03-05 22:46:38 +01:00 |
Olivier Martin
|
f38f73a9a4
|
gattlib: Change gattlib_connect to better use event loop
|
2024-02-22 19:54:43 +01:00 |
Olivier Martin
|
fbd65421d0
|
Ensure adapter is present
|
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
|
2f83e85eee
|
dbus: Remove event_thread
|
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
|
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
|
011f4e4c4a
|
gattlib_disconnect: Call on_disconnect callback
|
2024-02-15 22:00:06 +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
|
a41061c1d4
|
Various fixes/logging/features
|
2024-02-12 00:11:45 +01:00 |
Olivier Martin
|
c1a3c02154
|
dbus: Add battery characteristics to the list of GATT characteristic
|
2022-05-16 21:44:31 +02:00 |
Olivier Martin
|
59820e2cad
|
gattlib-py/device: Re-enable RSSI
|
2022-05-16 21:44:31 +02:00 |
Olivier Martin
|
d9c18b93a3
|
dbus/gattlib_discover_primary: Ensure a valid connection pointer is given
|
2022-05-11 20:29:07 +02:00 |
wurong
|
bdc273fe0a
|
fix mem leak.
|
2022-05-11 15:53:48 +02:00 |
tswaehn
|
b82be455b4
|
fix: sigsev when service is null
|
2022-03-10 22:00:34 +01:00 |
tswaehn
|
5badee94b9
|
fix: sigsev when service property returns null
|
2022-03-10 22:00:34 +01:00 |
tswaehn
|
c2c6b2f17b
|
fix: device_manager not found => SIGSEV
|
2022-01-30 21:41:17 +01:00 |
tswaehn
|
deee3766e1
|
fix: gattlib_adapter not found => SIGSEV
|
2022-01-30 21:41:17 +01:00 |
Olivier Martin
|
1afaa8b460
|
Introduce Gattlib logging backend
|
2021-10-18 16:46:45 +02:00 |
Olivier Martin
|
c3abb7eb6c
|
dbus/gattlib.c: Fix copyright
|
2021-09-01 10:42:26 +02:00 |
Кирилл Зимников
|
2c38df5f30
|
Fix memory problems
|
2021-08-31 23:19:37 +02:00 |
chenbin
|
3f85abd606
|
fix memory leak.
|
2021-04-13 22:49:25 +02:00 |
Kevin Dewald
|
9451e19426
|
Add verification for null mac address.
|
2021-03-19 12:46:32 +01:00 |
Kevin Dewald
|
321c37dc57
|
Removed extra print statement.
|
2021-03-04 00:48:06 +01:00 |
Kevin Dewald
|
49790a92bf
|
Fixed bug where notifications will be enabled but no events will be received.
|
2021-03-03 13:04:50 +01:00 |
Kevin Dewald
|
3c917fe683
|
Fixed missing characteristic detection when discovering services.
|
2021-03-02 22:23:45 +01:00 |
Vanshil Shah
|
054f64e115
|
Set adapter name properly if non-default adapter is passed in
|
2020-07-20 20:19:09 +01:00 |
Olivier Martin
|
ddc790358f
|
dbus: Ensure GATT Notification/Indication are correctly disconnected
|
2020-04-08 22:30:54 +02:00 |
Olivier Martin
|
504ee7d1a7
|
dbus: Factorise code between GATT Notification and GATT Indication
|
2020-04-08 22:30:54 +02:00 |
Olivier Martin
|
46da1ee50c
|
dbus: Prevent compiler warning
|
2020-04-08 22:30:54 +02:00 |
Olivier Martin
|
6f3ad714a2
|
dbus: Attach the BLE adapter to connection
|
2020-04-08 22:30:54 +02:00 |