-
Notifications
You must be signed in to change notification settings - Fork 103
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
RSSI read not working in real app #143
Comments
I am having the same problem. This method used to work (with an older version of the plugin) at some point, and then it stopped working. Please let me know if you find a solution. Thanks. |
@tozymandias Sure. I have submitted a ticket to ask the team, but no answer yet. No idea why it worked with evothing studio but not the app. |
There is a bug in ble.js for the RSSI call - at about line 980: |
I see this was also reported and the bug found in #135 |
Is this resolved? |
I have tried other ble plugins, finally use this: https://github.com/randdusing/cordova-plugin-bluetoothle, which doesn't have major problems. |
I'm able to read the RSSI value continuously through Evothing app (on Samsung S4 Android 5.0) from a connected device. But after I built the custom app with exactly the same code, the RSSI value won't show. I have tried the online phonegap builder and the command line cordova builder, and another phone (G3 Android 6.0), got the same result: NO RSSI read. Could anybody help? should I add something when I build the real app?
Here is the method I used:
evothings.ble.rssi(
deviceHandle,
function (rssi) { console.log("RSSI=" + rssi },
function (err) { console.log("ERROR=" + err });
Thanks a lot!
The text was updated successfully, but these errors were encountered: