View Source Grizzly.ZWave.CommandClasses.UserCode (grizzly v8.6.6)
Command Class for working with user codes
Summary
Types
@type extended_user_code() :: %{ user_id: extended_user_code(), user_id_status: user_id_status(), user_code: String.t() }
@type extended_user_id() :: 0..65535
@type keypad_mode() :: :normal | :vacation | :privacy | :lockout | :unknown
@type user_id_status() :: :available | :occupied | :disabled | :messaging | :passage | :status_not_available | :unknown | byte()
Functions
@spec decode_extended_user_codes(binary()) :: {user_codes :: [extended_user_code()], remainder :: binary()}
@spec keypad_mode_from_byte(byte()) :: keypad_mode()
@spec keypad_mode_to_byte(keypad_mode()) :: 0 | 1 | 2 | 3
@spec user_id_status_from_byte(byte()) :: user_id_status()
@spec user_id_status_to_byte(user_id_status()) :: byte()