You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • dev.id contains the mac address as a string, so just change:

    var uuid = new Uint8Array(dev.manufacturerData,2,16);
    

    to

    var uuid = dev.id .substr(0,17).split(":").map(x=>parseInt­(x,16))
    
About

Avatar for Gordon @Gordon started