• Ok, and you're saying that clicking on the timestamp inject button is basically instant as well?

    You can do this on the Puck:

    var pressCount = 0;
    setWatch(function() {
      pressCount++;
      NRF.setAdvertising({
        0xFFFF : [pressCount]
      },{interval:50});
    }, BTN, { edge:"rising", repeat:true, debounce:50 });
    

    Which will really raise the advertising interval so more packets get through (but it'll drain the battery faster unless you lower it again a while after the click).

    What happens if you do mosquitto_sub -v -t "/ble/advertise/de:70:d9:0c:eb:86/ffff" at the terminal on the Pi? You'll need to change the address to yours.

    I just tried it here from about 10 metres away and through 2 walls, and the response is almost instant.

About

Avatar for Gordon @Gordon started