You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • Used a second Puck to verify that JSON is valid

    // Puck.js : { "a": "1", "b": 2 }
    NRF.requestDevice({ filters: [ { id:"d9:c7:0b:0a:48:20 random"}]}).then(
      function(d) { 
       console.log(JSON.parse(String.fromCharCo­de.apply(null, d.manufacturerData)));
    } );
    /* output
    =Promise: {  }
    {
      "a": "1",
      "b": 2 }
    */
    
About

Avatar for MaBe @MaBe started