You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • This is great - thanks for posting it up separately to your other stuff! I've been meaning to try one of those Xiaomi Plant moisture sensors for ages, and this gives me a good excuse :)

    If you're interested, you should be able to change the last part of NRF.findDevices to:

            }, {
                filters: [
                timeout: 2000

    which will automatically filter out only devices that advertise that service data - it's a bit faster and more efficient with memory if there are a bunch of BLE devices.


Avatar for Gordon @Gordon started