index.js
function scanNetworks(callback) {
  exec(scanner.cmdLine, function (err, stdout) {
    if (err) {
      callback(err, null);
      return;
    }
    scanner.parseOutput(stdout, callback);
  });
}
function scanNetworks(callback) {
  exec(scanner.cmdLine, function (err, stdout) {
    if (err) {
      callback(err, null);
      return;
    }
    scanner.parseOutput(stdout, callback);
  });
}
function scanNetworks ( callback ) { exec ( scanner . cmdLine , function ( err , stdout ) { if ( err ) { callback ( err , null ) ; return ; } scanner . parseOutput ( stdout , callback ) ; } ) ; }
Scan the networks with the scanner detected before
@param callback
Scan the networks with the scanner detected before