-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
characteristic.ValueUpdated never triggeed #780
Comments
Hi @manudev-1, I'm the friendly issue checker. |
Hi, any news to this topic? I have the same problem with .net maui 8. And different Android devices. The same code is running on windows. Not tested on ios. |
I think there are some API changes in API level 33 which might cause this. Can someone confirm that the problem only occurs with API 33 and above (Android 13/14), but works with API 32 and below (Android 12 and earlier)? |
It does not work with Android 6.0 (API23). Can I support in any other way? |
That's surprising. Maybe you're doing something wrong? (Android 6 is pretty ancient, anyway.)
Do you see characteristics updates working with any Plugin.BLE version (on any Android version)? |
Could be that I do something wrong. I use the following lines of code which should work.
The same code is working if I run the App on windows. I tried all Plugin.BLE versions since version 3.x (including prereleases) To provide you a background. I use the following example ( https://www.jenx.si/2020/08/13/bluetooth-low-energy-uart-service-with-xamarin-forms/ ) while I also try to connect to this Nordic BLE-uart example. |
Hi all, it seems that my "ReadCharacter_ValueUpdated" is called (Android 12 API 31). But only 2-3 times at the beginning. After the connected give the information that no att channel is available. and no buffer for sending the nottification. Windows is still running. |
Hi all, I could test it today and it is also running on Android 6. But values seems not to be valid and complete. Also receiving stop working after a while. Are there any limitations on Android devices or rules that must be followed? |
After a lot of testes I see that there seems to be a limitation in the package size in Android. Something like 20 bytes? Could anyone confirm this? |
Steps to reproduce
Expected behavior
I would like my application to scan the bluetooth devices next to it that show them on a list and that when the user presses on one of the devices in the list it will start a connection. I’m trying to use my arduino uno r4, and it when the app is connected changes the value of the feature shown in the code, and I would like inside the event to show me the message sent by the arduino.
Actual behavior
Everything starts correctly but the value change listening event never runs.
Crashlog
No exception
Configuration
Version of the Plugin: 3.0.0
Platform: Android 13.0 - API 33
Device: Xiaomi 2201117TY
The text was updated successfully, but these errors were encountered: