Hi,
I have an application where I want to attach a slider widget to a bluetooth characteristic, and have it change the 8-bit value real time.
I got everything working in theory, but the issue is that every characteristics write takes about a second. The issue is not in the Nordic Semi bluetooth device, as it works really fast with native iOS code. This Evothing app is however on Android.
I tried this also on iOS, but the slider behaves bit differently and updates only when it is released.
Notification etc response for writes are not required, I'd like my app to "shoot blind" the updates as fast as possible.
Any pointers how to tackle this one?
writing a characteristic takes too long time
Re: writing a characteristic takes too long time
Hi, I have also experience issues with BLE on Android with Nordic boards (and other BLE devices).
It is quite tricky to nail this down as BLE support of Android is diverse and also is lagging behind iOS.
You could try writing the characteristic using some alternative method, to see if the problem persists. If so, the problem is likely with the Android device, if not, the problem is likely in the Cordova BLE plugin. Here is one such app:
https://play.google.com/store/apps/deta ... .mcp&hl=en
You could also test an alternative BLE plugin for Cordova (if you build your own Cordova app).
Regards, Mikael
It is quite tricky to nail this down as BLE support of Android is diverse and also is lagging behind iOS.
You could try writing the characteristic using some alternative method, to see if the problem persists. If so, the problem is likely with the Android device, if not, the problem is likely in the Cordova BLE plugin. Here is one such app:
https://play.google.com/store/apps/deta ... .mcp&hl=en
You could also test an alternative BLE plugin for Cordova (if you build your own Cordova app).
Regards, Mikael
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 2 guests