Olivier Martin
f99558d9b8
gattlib-py: Make pylint pass (and fix issue)
2024-04-24 14:37:28 +02:00
Olivier Martin
f79e90ce02
gattlib-py: Added support for manufacturer data from GATT advertising
2024-04-11 22:01:28 +02: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
b2c4094cb6
gattlib-py: Fix some memory leaks
2024-03-13 13:52:57 +01:00
Olivier Martin
61043afd98
gattlib-py: Use logger (instead of logging)
2024-02-21 00:28:08 +01:00
Olivier Martin
7922810016
gattlib-py/gattlib/device: Fix logging
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
8065d12dac
python: Various fixes
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
a41061c1d4
Various fixes/logging/features
2024-02-12 00:11:45 +01:00
Olivier Martin
6d271f98b6
gattlib-py: Document how to develop 'gattlib-py'
2024-02-12 00:11:45 +01:00
Olivier Martin
33a8a27592
gattlib-py: Fix/Handle returned error code
2022-05-16 21:44:31 +02:00
Olivier Martin
20f2d5facf
gattlib-py/device: Add support to unregister GATT notification
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
75fda5df84
gattlib-py: Rename 'id' attribute into 'mac_address'
2022-05-11 20:29:07 +02:00
Olivier Martin
f4ecc64d29
Clarify and update license
2021-09-01 00:04:00 +02:00
Olivier Martin
a34a2d2a21
gattlib-py/gattlib/device.py: Add support to retrieve advertisement data when device not connected
2020-04-09 11:47:34 +02:00
Luca Weiss
d40ac8e743
gattlib-py: add get_advertisement_data method
2020-04-08 22:57:52 +02:00
Chris Thornton
efc656ca52
Use c_ubyte for byte array casts
...
This prevents having to do the explicit & 0xff, and avoids generating an
error when calling .read() (which didn't have the bitmask)
2020-04-07 11:48:54 +02:00
Chris Thornton
80d26d702d
Add types to gattlib_(dis)connect in gattlib-py
...
The return type defaults to int for connect, causing the pointer to get
corrupted. Similarly, the disconnect call needs to avoid truncating the
handle.
2020-04-06 23:16:42 +02:00
Olivier Martin
0142c33dd8
gattlib: Disable gattlib_get_rssi() for now
...
This API has been disabled until this issue is clarified: https://github.com/labapart/gattlib/issues/75
RSSI can be accessed through `gattlib_get_rssi_from_mac()` before the
connection is established.
2019-07-09 20:04:35 +02:00
Olivier Martin
d7a323ccd7
gattlib-py/gattlib/device.py: Fixed returned RSSI value
2019-07-09 20:04:35 +02:00
Olivier Martin
eca8415fd6
gattlib: Introduced gattlib_get_rssi()
...
Fix : #75
2019-07-09 12:34:32 +02:00
Olivier Martin
531477b941
gattlib-py: Fix disconnect API
2019-07-09 11:22:20 +02:00
Olivier Martin
e74543fa56
Initial Python support
2019-07-07 22:17:49 +02:00