I am trying to explore the possibilities of connecting an Arduino to Phonegap/Cordova. I have a RedBearLab BLE Shield, which I want to test the connection with. My MVP would be to get the value of a PIN to a Cordova app. Nevertheless, I couldn't make it even close.
With this example the sketch is attempting to include
Nordic_nRF8001.h. Nevertheless, I can't seem to find this library. I downloaded it from various sources, but no matter what I do, my sketch still can't find the file.
The only way I could make it work was via CodeBender, but then the readings were a bit of a mess.
I'm not expecting anyone to do all the work for me, so if you can help me in one of the two directions, it would be awesome:
- Figure out why I can't find that Nordic_nRF8001.h file.
- Or help me find another method of BLE communication.
Later edit Using the examples that come with RBL library, I figured out the name of the files I need to use. Now I'm running into another problem for which I opened a new question.