Olivier Martin
|
f4ed88eb31
|
mainloop/gattlib_glib_mainloop: Fix non initialized variable
|
2024-04-11 22:01:28 +02:00 |
Olivier Martin
|
880f1d2cd0
|
Add support to retrieve all manufacturer data from GATT advertisement packets
|
2024-04-10 10:53:45 +02:00 |
Olivier Martin
|
8a108495a1
|
Change 'gattlib_devices_dump_state()' to 'gattlib_adapter_dump_state()'
|
2024-04-10 10:53:30 +02:00 |
Olivier Martin
|
db04a0eb5c
|
Introduce gattlib_connection_is_valid() to not access 'connection->device'
|
2024-04-08 23:10:47 +02:00 |
Olivier Martin
|
2d771d9390
|
Fix gattlib_connection_is_connected
|
2024-04-08 23:09:09 +02:00 |
Olivier Martin
|
5406a97e57
|
More logging
|
2024-04-08 23:07:57 +02:00 |
Olivier Martin
|
f609f7d507
|
adapter: Added support to open multiple time the same adapter
|
2024-04-08 23:07:57 +02:00 |
Olivier Martin
|
dc009029fa
|
Log when the adapter or device has been released
|
2024-04-08 12:01:53 +02:00 |
Olivier Martin
|
cdd62f6d35
|
Return specific error code when the adapter or device has been removed
|
2024-04-08 10:08:57 +02:00 |
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
|
5049443704
|
Ensure the connection structure is not freed when used by the connection thread
|
2024-04-04 23:48:43 +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
|
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
|
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
|
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
|
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
|
00cbc1ab87
|
common: Set pointer to NULL after freeing them
|
2024-02-27 11:28:49 +01:00 |
Olivier Martin
|
5f5cb5bd12
|
common/logging_backend: Introduce Python backend
|
2024-02-22 09:30:22 +01:00 |
Olivier Martin
|
aacc53c511
|
Fix warnings from release build
|
2024-02-21 00:28:08 +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
|
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
|
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
|
1d80061bf2
|
python: Fix callback back to native gattlib
|
2024-02-12 22:04:57 +01:00 |
Olivier Martin
|
028dfef5fc
|
python: Update deprecated calls
|
2024-02-12 00:13:07 +01:00 |
Olivier Martin
|
2570850046
|
common/gattlib_common: Release Python PyObject
|
2022-05-11 20:29:07 +02:00 |
Olivier Martin
|
1afaa8b460
|
Introduce Gattlib logging backend
|
2021-10-18 16:46:45 +02:00 |
Olivier Martin
|
f4ecc64d29
|
Clarify and update license
|
2021-09-01 00:04:00 +02:00 |
Olivier Martin
|
825fc4d07c
|
gattlib: Introduce indefinite scan timeout
|
2020-04-09 10:33:27 +02:00 |
Chris Thornton
|
d26065d6ad
|
Only pass pointer value as long type on 64 bit systems.
When testing this on a RPI this causes issues, so we need to switch
based on the architecture.
|
2020-04-07 22:28:11 +02:00 |
Olivier Martin
|
392d9d5eb3
|
gattlib.h: Add Eddystone constants
|
2020-04-07 12:29:19 +02:00 |
Chris Thornton
|
1779c75062
|
Pass the pointer value as a long int to python
The pointer could be truncated which results in an invalid memory
address when trying to get at the array.
|
2020-04-07 11:48:54 +02:00 |
Olivier Martin
|
e342e292fd
|
gattlib.h: Make sure everything is converted
|
2019-07-15 23:33:13 +02:00 |
Olivier Martin
|
193c86590e
|
gattlib: Introduce helper function to select Eddystone devices
|
2019-07-15 18:04:11 +02:00 |
Michael Rolland
|
4b9252bad1
|
gattlib: Fix disconnection handler type check
|
2019-07-11 17:54:56 +02:00 |
Olivier Martin
|
e74543fa56
|
Initial Python support
|
2019-07-07 22:17:49 +02:00 |
Olivier Martin
|
046f077085
|
gattlib: Move 'struct _gatt_connection_t' out of 'gattlib.h'
|
2019-07-07 22:17:49 +02:00 |