title: Javascript get nearby Bluetooth devices Mac Address
body: <p>I need my web project to get nearby Bluetooth devices Mac Address.
  I use this code:</p>
  <pre><code>navigator.bluetooth.requestDevice(acceptAllDevices)
  .then(device =&gt; {
  console.log(device)
  console.log('&gt; Name:             ' + device.name);
  console.log('&gt; Id:               ' + device.id);
  console.log('&gt; Connected:        ' + device.gatt.connected);
  })
  .catch(error =&gt; {
  console.log('Argh! ' + error);
  });
  </code></pre>
  <p>When I run this function get this tab: <a href="https://i.stack.imgur.com/TnzvA.png" rel="nofollow noreferrer">picture</a></p>
  <p>For unsupported devices, the Bluetooth Mac Address is displayed. But its name property will be null.</p>
  <p>However, for recognized devices, it prints the name option.
  Can I filter the Mac address from the name option?</p>
  <p>There may be other ways to query Mac address?</p>