double[] sensorValuesArray;
DeviceAttribute sensorValueAttribute;
for (int sensorIndex = 0; sensorIndex < sensorsNamesArray.length
&& sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
sensorName = sensorsNamesArray[sensorIndex];
sensor = new SensorImpl();
sensor.setName(sensorName);
sensor.setEnabled(true);
scanResult.getSensorsList().add(sensor);
sensorValueKey = sensorsValueKeysArray[sensorIndex];