Newbie trying to get BLE app working
Posted: 07:33, 05 Nov 2015
As a first exercise, I have made a copy of the Nordic nRF51-DK BLE app, with one word of text changed as a telltale. I have the Nordic board, and the Nordic app on the Evothings Workbench works perfectly, operating led's and showing buttons. However, my copy runs, the screen looks right, it goes into scanning mode, but it never connects with BLE. Results are the same whether I run it from the Workbench or standalone.
Maybe it doesn't matter, but the "plugin add https://github.com/evothings/cordova-ble.git" statement initially failed because git is not installed. I haven't discovered how to properly install git on Windows 7, maybe it can't be done, so I downloaded the zip file from github, unzipped it, and used the resulting folder "cordova-ble-master", which seemed to work. A directory list of myproject\plugins shows 2 folders: cordova-plugin-ble and cordova-plugin-whitelist, and 2 files: android.json and fetch.json.
I'm hoping someone can tell me what I did wrong.
Joe
Maybe it doesn't matter, but the "plugin add https://github.com/evothings/cordova-ble.git" statement initially failed because git is not installed. I haven't discovered how to properly install git on Windows 7, maybe it can't be done, so I downloaded the zip file from github, unzipped it, and used the resulting folder "cordova-ble-master", which seemed to work. A directory list of myproject\plugins shows 2 folders: cordova-plugin-ble and cordova-plugin-whitelist, and 2 files: android.json and fetch.json.
I'm hoping someone can tell me what I did wrong.
Joe