How to connect RedBearLab BLE shield (Or how to find Nordic_nRF8001.h)? 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.

The closest I got, it was using Don Coleman's Phonegap plugin.
I am trying his Simple Chat example.

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.

Thank you!
I used Arduino Create Web Editor to load the SimpleChat example. It loads with these libraries, and it works perfectly:

#include &lt;SPI.h&gt;
#include &lt;EEPROM.h&gt;
#include &lt;boards.h&gt;
#include &lt;RBL_nRF8001.h&gt;


Thanks,
Andi