View Source Grizzly.ZWave.Commands.LearnModeSetStatus (grizzly v8.0.1)

This command is used to indicate the progress of the Learn Mode Set command.

Params:

  • :seq_number - the command sequence number

  • :status - the outcome of the learn mode, one of :done, :failed or :security_failed

  • :new_node_id - the new node id assigned to the device

  • :granted_keys - indicates which network keys were granted during bootstrapping; a list with :s2_unauthenticated, :s2_authenticated,

                  :s2_access_control and/or :s0 (optional - v2)
  • :kex_fail_type - indicates which error occurred in case S2 bootstrapping was not successful; one of :none, :key, :scheme, :curves,

                  :decrypt, :cancel, :auth, :get, :verify or :report -- see Grizzly.ZWave.Security (optional - v2)
  • :dsk - the DSK of the including controller that performed S2 bootstrapping to the node (optional - v2)

Summary

Types

@type param() ::
  {:seq_number, Grizzly.ZWave.seq_number()}
  | {:status, status()}
  | {:new_node_id, Grizzly.Node.id()}
  | {:granted_keys, [Grizzly.ZWave.Security.key()]}
  | {:kex_fail_type, Grizzly.ZWave.Security.key_exchange_fail_type()}
  | {:dsk, Grizzly.ZWave.DSK.t()}
@type status() :: :done | :failed | :security_failed