Custom Lock Response Data¶
When executing an unlock command, some locks return custom extra data, supplementing the basic success response. If required, the mobile app can retrieve and use this data. The CommandExecutionFacade.triggerLockAsync
function returns an instance of CommandResult
. The custom data is represented as byte[]
and is contained in the responseData
field.
Note
The data structures returned in the CommandResult.responseData
field are defined by the respective lock manufacturer and not standardized by Tapkey. When evaluating custom lock response data, the according lock type or at least the lock manufacturer must be considered to avoid misinterpretation.