src/windows/bleProxy.js
function (deviceHandle, functionName, errorCallback) {
			var device = winble.deviceManager.deviceList[deviceHandle];
			if (device == null) {
				var msg = "Could not find the requested device handle '" + deviceHandle + "'";
				winble.logger.logError(functionName, msg);
				errorCallback(winble.DEVICE_NOT_FOUND);
			}
			return (device);
		}
function (deviceHandle, functionName, errorCallback) {
			var device = winble.deviceManager.deviceList[deviceHandle];
			if (device == null) {
				var msg = "Could not find the requested device handle '" + deviceHandle + "'";
				winble.logger.logError(functionName, msg);
				errorCallback(winble.DEVICE_NOT_FOUND);
			}
			return (device);
		}
function ( deviceHandle , functionName , errorCallback ) { var device = winble . deviceManager . deviceList [ deviceHandle ] ; if ( device == null ) { var msg = "Could not find the requested device handle '" + deviceHandle + "'" ; winble . logger . logError ( functionName , msg ) ; errorCallback ( winble . DEVICE_NOT_FOUND ) ; } return ( device ) ; }
Called internally to look up a previously discovered BLE device by handle. Look up the requested device and complain if we can't find it.
Called internally to look up a previously discovered BLE device by handle . Look up the requested device and complain if we can t find it .