src/windows/bleProxy.js
function (successCallback, errorCallback, deviceHandle) {

			// Find the requested device in our list of discovered devices
			var device = winble.deviceManager.getDeviceFromHandle(deviceHandle, "getDeviceRssi", errorCallback);
			if (device == null)
				return;

			// Return the RSSI value
			winble.logger.logDebug("getDeviceRssi", "Warning: Windows BLE does not currently provide RSSI");
			successCallback(device.rssi);
		}
function (successCallback, errorCallback, deviceHandle) {

			// Find the requested device in our list of discovered devices
			var device = winble.deviceManager.getDeviceFromHandle(deviceHandle, "getDeviceRssi", errorCallback);
			if (device == null)
				return;

			// Return the RSSI value
			winble.logger.logDebug("getDeviceRssi", "Warning: Windows BLE does not currently provide RSSI");
			successCallback(device.rssi);
		}
function ( successCallback , errorCallback , deviceHandle ) { // Find the requested device in our list of discovered devices var device = winble . deviceManager . getDeviceFromHandle ( deviceHandle , "getDeviceRssi" , errorCallback ) ; if ( device == null ) return ; // Return the RSSI value winble . logger . logDebug ( "getDeviceRssi" , "Warning: Windows BLE does not currently provide RSSI" ) ; successCallback ( device . rssi ) ; }
Called from the rssi API. Windows does not give us access to a device's RSSI, but the Evothings API expects it to be available, so we will always return DEFAULT_RSSI here, which is a non-real-world RSSI value.
Called from the rssi API . Windows does not give us access to a device s RSSI but the Evothings API expects it to be available so we will always return DEFAULT_RSSI here which is a non - real - world RSSI value .