You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • No problem, I was trying to avoid writing code because I'd have to look it up too :)

      NRF.requestDevice({ filters: [{ name: DevName }] }).then(function(device) {
        return device.gatt.connect();
      }).then(function(g) {
        gatt = g;
        console.log(gatt);
        return new Promise(function(resolve) { 
           setTimeout(resolve, 1000);
        });
      }).then(function() {
        return gatt.getPrimaryService(serviceUUID);
      }).then(function(service) {
    
About

Avatar for Gordon @Gordon started