ti-sensortag-sensors works in workbench not on phone

Discuss mobile apps for Texas Instruments products.
s1930
Posts: 4
Joined: 13:34, 06 Jul 2015

ti-sensortag-sensors works in workbench not on phone

Postby s1930 » 13:59, 06 Jul 2015

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.

s1930
Posts: 4
Joined: 13:34, 06 Jul 2015

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

Postby s1930 » 14:58, 06 Jul 2015

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.


Return to “Texas Instruments”

Who is online

Users browsing this forum: No registered users and 4 guests