function(deviceInfo) {
        this._handle = deviceInfo._handle;

        this.address = deviceInfo._handle;
        this.name = deviceInfo.name;
        this.serviceUUIDs = deviceInfo.uuids;
        this.adData = deviceInfo.adData;

        this.connected = false;
        this.services = {};
    }
function(deviceInfo) {
        this._handle = deviceInfo._handle;

        this.address = deviceInfo._handle;
        this.name = deviceInfo.name;
        this.serviceUUIDs = deviceInfo.uuids;
        this.adData = deviceInfo.adData;

        this.connected = false;
        this.services = {};
    }
function ( deviceInfo ) { this . _handle = deviceInfo . _handle ; this . address = deviceInfo . _handle ; this . name = deviceInfo . name ; this . serviceUUIDs = deviceInfo . uuids ; this . adData = deviceInfo . adData ; this . connected = false ; this . services = { } ; }
Device Object
Device Object