lib/temp_files/oa_managed_device.js
function unlinkFromCuratedDeviceEvents() {
        self.curatedDevice.removeListener(
            'DEVICE_DISCONNECTED',
            curatedDeviceDisconnected
        );
        self.curatedDevice.removeListener(
            'DEVICE_RECONNECTED',
            curatedDeviceReconnected
        );
        self.curatedDevice.removeListener(
            'DEVICE_ERROR',
            curatedDeviceError
        );
        self.curatedDevice.removeListener(
            'DEVICE_RECONNECTING',
            curatedDeviceReconnecting
        );
        self.curatedDevice.removeListener(
            'DEVICE_ATTRIBUTES_CHANGED',
            cureatedDeviceAttributesChanged
        );
    }
function unlinkFromCuratedDeviceEvents() {
        self.curatedDevice.removeListener(
            'DEVICE_DISCONNECTED',
            curatedDeviceDisconnected
        );
        self.curatedDevice.removeListener(
            'DEVICE_RECONNECTED',
            curatedDeviceReconnected
        );
        self.curatedDevice.removeListener(
            'DEVICE_ERROR',
            curatedDeviceError
        );
        self.curatedDevice.removeListener(
            'DEVICE_RECONNECTING',
            curatedDeviceReconnecting
        );
        self.curatedDevice.removeListener(
            'DEVICE_ATTRIBUTES_CHANGED',
            cureatedDeviceAttributesChanged
        );
    }
function unlinkFromCuratedDeviceEvents ( ) { self . curatedDevice . removeListener ( 'DEVICE_DISCONNECTED' , curatedDeviceDisconnected ) ; self . curatedDevice . removeListener ( 'DEVICE_RECONNECTED' , curatedDeviceReconnected ) ; self . curatedDevice . removeListener ( 'DEVICE_ERROR' , curatedDeviceError ) ; self . curatedDevice . removeListener ( 'DEVICE_RECONNECTING' , curatedDeviceReconnecting ) ; self . curatedDevice . removeListener ( 'DEVICE_ATTRIBUTES_CHANGED' , cureatedDeviceAttributesChanged ) ; }
Define a function that unlinks the device manager from several of the curated device's events.
Define a function that unlinks the device manager from several of the curated device s events .