code: function scan() {
      console.log("scanning...");
      bluetooth.requestDevice({
          filters:[{ services:[ eddystoneUUID ] }]
      })
      .then(scan)
      .catch(error => {
          console.log(error);
          process.exit();
      });
  }
docs: Recursively scan