Page 1 of 1

ti-sensortag-sensors works in workbench not on phone

Posted: 13:59, 06 Jul 2015
by s1930
Others have mentioned this and I have not found a fix. I used the example ti-sensortag-sensors in the workbench and it finds my cc2650 sensor just fine and everything works. But when I compile the demo app and execute it on an Android phone (Nexus 6 running Android 5.0.1) it never finds the sensor. I am guessing the easyble plugin is not working and needs to be added or the config.xml file needs to be modified but I don't know how.

Can anyone help me get this basic demo app working on a phone so that it uses BLE and finds the sensor just like it does in the workbench?

Thanks much.

Re: ti-sensortag-sensors works in workbench not on phone

Posted: 14:58, 06 Jul 2015
by s1930
Fixed the Issue.

For others who run into this, I had to add the plugin to the project by opening a command prompt at my app folder (c:\Users\myname\TItemp) (app is caled TItemp that I built) and then running the command:

cordova plugin add https://github.com/evothings/cordova-ble

I then recompiled my app with:
cordova run

and everything started working.