code: async function listDevices(showAll){
      // get all available serial ports
      const ports = (await _serialport.list()) || [];
      // just pass-through
      if (showAll){
          return ports;
  
      // filter by vendorIDs
      }else{
          return ports.filter(function(item){
              // 
              return knownVendorIDs.includes(item.vendorId && item.vendorId.toUpperCase());
          });
      }
  }
docs: show connected serial devices