}
if (tfConfig.eIsSet(tfConfig.eClass().getEStructuralFeature("callbackPeriod"))) {
setCallbackPeriod(tfConfig.getCallbackPeriod());
}
}
tinkerforgeDevice = new BrickletBarometer(uid, ipConnection);
try {
tinkerforgeDevice.setResponseExpected(
BrickletBarometer.FUNCTION_SET_AIR_PRESSURE_CALLBACK_PERIOD, false);
tinkerforgeDevice.setAirPressureCallbackPeriod(callbackPeriod);
listener = new AirPressureListener();