-
Notifications
You must be signed in to change notification settings - Fork 21
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
Notification stream of characteristic doesnt work #102
Comments
Have you tried making sure on the Arduino side the notification is getting sent? My project uses the exact same method for listening for notifications (well I subscribe first then call |
Yes, checking on debug/serial logs. I am working on BLE libraries wrapper in order to easily swap between libraries in my app. Wrapper works correctly with
Changing order of subscribe and startNotify doesn't help. I'm on latest Fedora. What distro do you have? |
I'm using Ubuntu 24.04. Could be worth monitoring |
Captured only moment where we write without response
Looks that we receive expected data from peripheral, but buez library doesn't notify us, some issue on systemd level? |
Also checked the same functionality on python |
@dkwach checked identical functionality with |
characteristicRx.readValue()
andcharacteristicTx.writeValue(data, type: BlueZGattCharacteristicWriteType.command);
works correctly on Central. Peripheral (Arduino) device receives write without response and notifies oncharacteristicRx
, but nothing happens onpropertiesChanged
stream (waiting 5 seconds).Only print
Is notifying: false
is visible.Not sure if I'm doing something wrong. Can't find example of characteristic notification receiving.
Code that I'm working on: https://github.com/vovagorodok/ble_backends/blob/main/packages/bluez_backend/lib/bluez_characteristic.dart
The text was updated successfully, but these errors were encountered: