You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ok, if you put a cutting edge firmware on there, you can now do:

    NRF.requestDevice({filters:[{id:"xx:xx:x­x:xx:xx:xx random"}]}).then(function(dev) {
      if (dev.manufacturerData)
        print("State is "+dev.manufacturerData[0]);
    })
    

    or:

    NRF.requestDevice({filters:[{manufacture­rData:{0x0590:{}}}]}).then(function(dev)­ {
        print("State is "+dev.manufacturerData[0]);
    })
    

    or even the following, which will use setScan, but with filters to quickly filter out anything you're not interested in:

    NRF.setScan(function(dev) {
        print("State is "+dev.manufacturerData[0]);
    }, {filters:[{manufacturerData:{0x0590:{}}}­]});
    
About

Avatar for Gordon @Gordon started