Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.41 KB

pull-calibration-cancel.rst

File metadata and controls

48 lines (38 loc) · 1.41 KB

Pull spring calibration cancel

PULL_CALIBRATION_CANCEL code is 0x59

Lock leaves calibration process of pull spring position.

Input parameters

none

Result

Result name Value Description
SUCCESS 0x00 Command accepted.
ERROR 0x02
Command rejected.
Lock is not in calibration state

Output parameters

none

Example

  1. Form message for encryption,
Command Value
0x59
  1. :doc:`Encrypt <../../ptls/secured_communication>` prepared message,
  2. Send it on :ref:`API commands characteristic <api_commands_characteristic>`,
  3. Receive response on :ref:`API commands characteristic <api_commands_characteristic>`,
  4. :doc:`Decrypt <../../ptls/secured_communication>` received response discarding :ref:`first header byte <message_headers>`,
  5. Parse response
Result
0x00 (SUCCESS)