Comments (4)
I didn't use the gatt-python. I wrote a C application to interact with BLE device.
from gatt-python.
Please let me know if I am missing something
from gatt-python.
gatttool utility seems to work. Please help how to use this library. Thanks in advance,
gatttool -b "aa:4f:9f:55:30:00" -I
[aa:4f:9f:55:30:00][LE]> connect
Attempting to connect to aa:4f:9f:55:30:00
Connection successful
[aa:4f:9f:55:30:00][LE]> char-desc
handle: 0x0001, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x0002, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0004, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0006, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x0007, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x0008, uuid: 00002a05-0000-1000-8000-00805f9b34fb
handle: 0x0009, uuid: 00002902-0000-1000-8000-00805f9b34fb
handle: 0x000a, uuid: 00002800-0000-1000-8000-00805f9b34fb
handle: 0x000b, uuid: 00002803-0000-1000-8000-00805f9b34fb
handle: 0x000c, uuid: 00002a19-0000-1000-8000-00805f9b34fb
handle: 0x000d, uuid: 00002902-0000-1000-8000-00805f9b34fb
[aa:4f:9f:55:30:00][LE]> char-write-req 0x000d 0100
Characteristic value was written successfully
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 04
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 06
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 04
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 06
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 06
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 04
Notification handle = 0x000c value: 05
Notification handle = 0x000c value: 04
Notification handle = 0x000c value: 05
[aa:4f:9f:55:30:00][LE]> disconnect
from gatt-python.
Hi, same issue for me ! Have you found a solution ? Thx Jeremy
from gatt-python.
Related Issues (20)
- remove_all_devices raises a DBusException HOT 4
- Loss of synchronisation
- Disconnecting right after connecting HOT 2
- descriptor_read_value_failed Callback HOT 1
- Characteristic write value time highly variable across machines
- DBus Socket not found HOT 2
- Is this project still alive? HOT 1
- connect is blocking other device updates
- Difficulty working inside virtualenv
- service: "Device Information" will be created automatically with the PnP_ID characteristic Bluez version above 5.50
- Insufficient Authorization
- Charactristic notify callback not removed on device disconnect
- mac addresses appear to be case sensitive (trivial)
- If dbus module not found, logs wrong installation command
- Readme function name issue: characteristic_enable_notification_succeeded / characteristic_enable_notification_failed
- Need to read rssi when device is discovered and can't find a function or variable that save it in rep
- Tag v0.2.7
- How do I call "write_value"
- ModuleNotFoundError: No module named 'gi' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatt-python.