-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write on remote device using ble #10
Comments
This happens because |
Now I am getting: 11921 11941 I python : File "/home/juan/git/able/write/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/kivy_ble_write/kivy/lang/builder.py", line 64, in custom_callback Thanks for your time |
It seems like Pyjnius do not convert str arguments to a Java arrays. It worked before, with Python 2. I added a workaround, so |
It works with the write_characteristic(characteristic, b'TEST') I will test later the newest version :) thanks a lot for your time |
I have an working app that publishes a write service with UUID 0d06. This service works ok as I can send some text using the BLE scanner app for android
I am trying to send text using ble's write_characteristic. Here you are my piece of code (based on BLE functions test):
I have declared:
and
The services are detected ok:
But when I try to send the text I get the following error:
Any idea what am I doing wrong?
Thanks for your time
The text was updated successfully, but these errors were encountered: