Using redbear BLE nano v2 (nRF52832) with particle electron


I have purchased a redbear BLE nano v2 with nrf52832. I have not purchased the USB Daplink.

My project:
I have 2 individual IoT lamps (basically an electron with an LED) and I would like to detect when the lamps are nearby each other. I thought of using BLE to detect proximity. My intention is to program the BLE nano to broadcast itself as an ‘IoT lamp’ and simultaneously scan for nearby IoT lamps broadcasting themselves.

Let’s start with a basic question. Do I first need 2 sketches?

1: for the redbear nano to broadcast and scan and
2: for the electron that reads these values?

Or do I just need one sketch in the electron that loads the BLE Nano library, instantiates a BLE nano object and that’s it?

I apologize if it’s too basic a question but I have looked a lot an cannot find a definitive answer.

Secondly, there is no official particle library for Redbear BLE nano v2 yet. Is it this one? The ‘src’ folder is empty.