22#ifndef ZWAVE_COMMAND_CLASS_USER_CREDENTIAL_API_H
23#define ZWAVE_COMMAND_CLASS_USER_CREDENTIAL_API_H
27#include "attribute_store.h"
49 attribute_store_node_t endpoint_node,
56 const char *user_name);
75 attribute_store_node_t endpoint_node,
82 const char *user_name);
94 attribute_store_node_t endpoint_node,
116 attribute_store_node_t endpoint_node,
120 const char* credential_data);
140 attribute_store_node_t endpoint_node,
144 const char* credential_data
159 attribute_store_node_t endpoint_node,
176 attribute_store_node_t endpoint_node);
189 attribute_store_node_t endpoint_node);
204 attribute_store_node_t endpoint_node,
221 attribute_store_node_t endpoint_node,
240 attribute_store_node_t endpoint_node,
260 attribute_store_node_t endpoint_node,
281 attribute_store_node_t endpoint_node,
296 attribute_store_node_t endpoint_node);
313 attribute_store_node_t endpoint_node,
330 attribute_store_node_t endpoint_node,
344 attribute_store_node_t endpoint_node,
357 attribute_store_node_t endpoint_node);
369 attribute_store_node_t endpoint_node,
370 const char* credential_data);
381 attribute_store_node_t endpoint_node);
396 attribute_store_node_t endpoint_node, uint8_t command_id);
uint32_t sl_status_t
Definition: sl_status.h:139
uint16_t user_credential_user_unique_id_t
User Unique ID. uint16_t
Definition: zwave_command_class_user_credential_types.h:37
uint8_t user_credential_rule_t
Credential rule. uint8_t
Definition: zwave_command_class_user_credential_types.h:64
uint16_t user_credential_slot_t
Credential slot. uint16_t
Definition: zwave_command_class_user_credential_types.h:67
uint8_t user_credential_type_t
Credential type. uint8_t
Definition: zwave_command_class_user_credential_types.h:61
uint16_t user_credential_expiring_timeout_minutes_t
Expiring Timeout for User (Minutes). uint16_t
Definition: zwave_command_class_user_credential_types.h:76
uint8_t user_credential_user_name_encoding_t
User name encoding. uint8_t
Definition: zwave_command_class_user_credential_types.h:58
uint8_t user_credential_learn_timeout_t
Expiring Timeout for Credential Learn (Seconds). uint8_t
Definition: zwave_command_class_user_credential_types.h:79
uint8_t user_credential_user_active_state_t
User active state (0 or 1). uint8_t
Definition: zwave_command_class_user_credential_types.h:56
sl_status_t zwave_command_class_user_credential_set_admin_pin_code(attribute_store_node_t endpoint_node, const char *credential_data)
Send a Set Admin Pin Code command to the end device.
sl_status_t zwave_command_class_user_credential_delete_all_credentials_for_user(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id)
Send a delete all credentials for user command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_modify_user(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t user_type, user_credential_rule_t credential_rule, user_credential_user_active_state_t user_active_state, user_credential_expiring_timeout_minutes_t expiring_timeout, user_credential_user_name_encoding_t user_name_encoding, const char *user_name)
Send a modify user command (User SET) to the end device.
sl_status_t zwave_command_class_user_credential_delete_all_credentials_by_type(attribute_store_node_t endpoint_node, user_credential_type_t credential_type)
Send a delete all credentials by type command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_get_credential_checksum(attribute_store_node_t endpoint_node, user_credential_type_t credential_type)
Send a Credential Checksum Get command to the end device.
sl_status_t zwave_command_class_user_credential_credential_learn_stop(attribute_store_node_t endpoint_node)
Send new credential command (Credential Learn Stop) to the end device.
sl_status_t zwave_command_class_user_credential_credential_learn_start_add(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type, user_credential_slot_t credential_slot, user_credential_learn_timeout_t credential_learn_timeout)
Send new credential command (Credential Learn Start) with operation type Add to the end device.
sl_status_t zwave_command_class_user_credential_add_new_credential(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type, user_credential_slot_t credential_slot, const char *credential_data)
Send a new credential command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_delete_user(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id)
Send a delete user command (User SET) to the end device.
bool zwave_command_class_user_credential_supports_admin_pin_code_deactivation(attribute_store_node_t endpoint_node)
Return true if the User Credential Command Class supports the Admin Pin Code Deactivation command.
bool zwave_command_class_user_credential_supports(attribute_store_node_t endpoint_node, uint8_t command_id)
Test if given command id is supported by the User Credential Command Class.
sl_status_t zwave_command_class_user_credential_delete_all_credentials(attribute_store_node_t endpoint_node)
Send a delete all credentials command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_get_user_checksum(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id)
Send a User Checksum Get command to the end device.
sl_status_t zwave_command_class_user_credential_delete_credential(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type, user_credential_slot_t credential_slot)
Send a delete credential command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_delete_all_users(attribute_store_node_t endpoint_node)
Send a delete all users command (User SET) to the end device.
sl_status_t zwave_command_class_user_credential_delete_all_credentials_for_user_by_type(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type)
Send a delete all credentials for user by type command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_add_new_user(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t user_type, user_credential_rule_t credential_rule, user_credential_user_active_state_t user_active_state, user_credential_expiring_timeout_minutes_t expiring_timeout, user_credential_user_name_encoding_t user_name_encoding, const char *user_name)
Send a new user command (User SET) to the end device.
sl_status_t zwave_command_class_user_credential_credential_learn_start_modify(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type, user_credential_slot_t credential_slot, user_credential_learn_timeout_t credential_learn_timeout)
Send new credential command (Credential Learn Start) with operation type Modify to the end device.
sl_status_t zwave_command_class_user_credential_get_all_users_checksum(attribute_store_node_t endpoint_node)
Send a All Users Checksum Get command to the end device.
sl_status_t zwave_command_class_user_credential_modify_credential(attribute_store_node_t endpoint_node, user_credential_user_unique_id_t user_id, user_credential_type_t credential_type, user_credential_slot_t credential_slot, const char *credential_data)
Send a modify credential command (Credential SET) to the end device.
sl_status_t zwave_command_class_user_credential_uuic_association_set(attribute_store_node_t endpoint_node, user_credential_type_t credential_type, user_credential_user_unique_id_t source_user_id, user_credential_slot_t source_credential_slot, user_credential_user_unique_id_t destination_user_id, user_credential_slot_t destination_credential_slot)
Send a User Unique Identifier Credential Association Set to the end device.