You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Would you be ok posting up your setScan code? I've just been doing this:

    var n = 0;
    NRF.setScan(function(d) {
      n++;
      if (d.id=="f3:ec:65:44:85:db random") {
        LED1.write(d.rssi>-88);
        LED2.write(d.rssi>-85);
        LED3.write(d.rssi>-82);
      }
    });
    var hist = [];
    setInterval(function() {
      console.log(n/5,"adv/sec");
      while (hist.length>20) hist.shift();
      hist.push(n/5);
      n=0;
    }, 5000);
    

    With around 15 advertising packets/second received, and it still seems stable. When connected the amount of advertising packets received drops from 15 down to 8/9 though - so having a connection open means it misses quite a lot.

About

Avatar for Gordon @Gordon started