TKMCommandResultCode

Represents a command’s result code. The result codes in this enum are sorted by priority.

  • ok

    Command executed as requested.

  • The command was successfully received, but not executed. There is nothing to do. The intended achievement is already fulfilled.

  • Lock is in the wrong mode for this command (e.g. in owner mode while triggering the lock).

  • The lock is not supported anymore by this version of the SDK. An update of the lock’s firmware is required.

  • The lock’s firmware is not yet supported by this version of the SDK. Upgrade to the latest version of the SDK.

  • The lock is not fully assembled. Certain types of locks may ship in multiple parts and need to be assembled before use.

  • An error occurred while trying to communicate with the Tapkey Trust Service (e.g. due to bad internet connection).

  • Lock date/time are invalid.

  • The key is valid but access is denied due to ICAL restrictions of the grant. See the corresponding grant for more information.

  • The key is not yet valid but will be in the future. See the corresponding grant for more information.

  • Communication with the security backend succeeded but the user is not authorized for the given command on this locking device.

  • A transport-level error occurred when communicating with the locking device, e.g. NFC or Bluetooth connection was lost.

  • The lock is not a known Tapkey lock.

  • An error occurred on user level. In this case, examining {@link UserCommandResult} is required.

  • The lock has no active license

  • Mechanical error on the lock

  • Some unspecific technical error has occurred.