• maybe I didn't explain correct
    I have connected to the mdb42q a LED in GPIO D15 (it this OK?)
    I want to control the LED from the PI
    I have the MAC address of the PI - I want it to connect only to it

    I have found this - and I can see it connect to the pi

    var gatt;
    NRF.connect(" DC:**:32:**:9A:**").then(function(g) {
      gatt = g;
    }).then(function(service) {
      return gatt.startBonding();
    }).then(function() {

    what else do I need to write in order to make hi m"wait" for my command ON\Off?

    and do you have an exapmle what need to do on the pi side?