@Override
public SensorReport doInBackground() {
SensorReport report;
factoryClassName = SalsaDAOFactory.class.getName();
sensorKRead = new SensorKey(sensor, factoryClassName, SensorKey.DataMode.READ);
sensorKWrite = new SensorKey(sensor, factoryClassName, SensorKey.DataMode.WRITE);
sensorStateKey = new SensorStateKey(sensor, factoryClassName);
try {
report = SensorDeviceApi.getSensorReport(sensor.getName());
DimensionType dimensionType = report.getDimensionType();