test.js
//Find devices of the same type (from the same vendor) as your device
Find devices of the same type (from the same vendor) as your device
Find devices of the same type ( from the same vendor ) as your device
function example(callback) {
    console.log('Finding devices on your network with the same macType as your device...');
    arpping.findMyInfo((err, info) => {
        if (err) return console.log(err);
        arpping.arp([info.ip], (err, found) => {
            if (err) return console.log(err);
            if (found[0] && found[0].type) 
                arpping.search.byMacType(found[0].type, null, callback);
            else console.log('No type found for your device');
        });
    })
}
function example ( callback ) { console . log ( 'Finding devices on your network with the same macType as your device...' ) ; arpping . findMyInfo ( ( err , info ) => { if ( err ) return console . log ( err ) ; arpping . arp ( [ info . ip ] , ( err , found ) => { if ( err ) return console . log ( err ) ; if ( found [ 0 ] && found [ 0 ] . type ) arpping . search . byMacType ( found [ 0 ] . type , null , callback ) ; else console . log ( 'No type found for your device' ) ; } ) ; } ) }
Find devices of the same type (from the same vendor) as your device
Find devices of the same type ( from the same vendor ) as your device