diff --git a/LockItBLE/LockItBLE.csproj b/LockItBLE/LockItBLE.csproj
index 6b5f44e..abcac32 100644
--- a/LockItBLE/LockItBLE.csproj
+++ b/LockItBLE/LockItBLE.csproj
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/LockItBLE/Services/BluetoothLock/BLE/LockItEventBased.cs b/LockItBLE/Services/BluetoothLock/BLE/LockItEventBased.cs
index e776e2e..c725d9e 100644
--- a/LockItBLE/Services/BluetoothLock/BLE/LockItEventBased.cs
+++ b/LockItBLE/Services/BluetoothLock/BLE/LockItEventBased.cs
@@ -141,13 +141,17 @@ namespace TINK.Services.BluetoothLock.BLE
switch (lockingState.Value)
{
- case LockitLockingState.CouldntOpenBoldBlocked:
- // Expected error. ILockIt count not be opened (Spoke blocks lock, ....)
- throw new CouldntOpenBoldBlockedException();
-
case LockitLockingState.Open:
return lockingState.Value;
+ case LockitLockingState.CouldntOpenBoldBlocked:
+ // Expected error. ILockIt count not be opened (Spoke blocks lock, ....)
+ throw new CouldntOpenBoldIsBlockedException();
+
+ case LockitLockingState.Unknown:
+ // Expected error. ILockIt count not be opened (Spoke has blocked/ blocks lock, ....)
+ throw new CouldntOpenBoldWasBlockedException();
+
default:
// Comprises values
// - LockitLockingState.Closed
diff --git a/LockItBLE/Services/BluetoothLock/BLE/LockItPolling.cs b/LockItBLE/Services/BluetoothLock/BLE/LockItPolling.cs
index 8ec89ac..9b1c43e 100644
--- a/LockItBLE/Services/BluetoothLock/BLE/LockItPolling.cs
+++ b/LockItBLE/Services/BluetoothLock/BLE/LockItPolling.cs
@@ -109,18 +109,22 @@ namespace TINK.Services.BluetoothLock.BLE
switch (info.State.Value)
{
- case LockitLockingState.CouldntOpenBoldBlocked:
- // Expected error. ILockIt count not be opened (Spoke blocks lock, ....)
- throw new CouldntOpenBoldBlockedException();
-
case LockitLockingState.Open:
return info.State.Value;
+ case LockitLockingState.CouldntOpenBoldBlocked:
+ // Expected error. ILockIt count not be opened (Spoke blocks lock, ....)
+ throw new CouldntOpenBoldIsBlockedException();
+
+ case LockitLockingState.Unknown:
+ // Expected error. ILockIt count not be opened (Spoke has blocked/ blocks lock, ....)
+ throw new CouldntOpenBoldWasBlockedException();
+
default:
// Comprises values
// - LockitLockingState.Closed
- // - LockitLockingState.Unknown
- // - LockitLockingState.CouldntOpenBoldBlocked
+ // - LockitLockingState.CouldntCloseMoving (should never happen because command open was send)
+ // - LockitLockingState.CouldntCloseBoldBlocked (should never happen because command open was send)
// Internal error which sould never occure. Lock refuses to open but connection is ok.
throw new CouldntOpenInconsistentStateExecption(info.State.Value.GetLockingState());
}
diff --git a/LockItShared/LockItShared.csproj b/LockItShared/LockItShared.csproj
index d8df954..49ee5c5 100644
--- a/LockItShared/LockItShared.csproj
+++ b/LockItShared/LockItShared.csproj
@@ -23,7 +23,7 @@
-
+
diff --git a/LockItShared/MultilingualResources/LockItShared.de.xlf b/LockItShared/MultilingualResources/LockItShared.de.xlf
index 6fe319c..4cb431d 100644
--- a/LockItShared/MultilingualResources/LockItShared.de.xlf
+++ b/LockItShared/MultilingualResources/LockItShared.de.xlf
@@ -18,11 +18,6 @@
Unerwarteter Schlosszustand "{0}" gemeldet nach Ausführen des Öffnen-Befehls.
-
-
- Schloss meldet unbekannten Schließzustand.
- Please verify the translation’s accuracy as the source string was updated after it was translated.
- Keine Bluetooth-Verbindung.
@@ -39,6 +34,10 @@
Schloss ist blockiert.
+
+
+ Bolds was or is blocked.
+