Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
cc_user_credential_io.h File Reference
+ Include dependency graph for cc_user_credential_io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum u3c_db_operation_result_ u3c_db_operation_result
 

Enumerations

enum  u3c_db_operation_result_ {
  U3C_DB_OPERATION_RESULT_SUCCESS ,
  U3C_DB_OPERATION_RESULT_ERROR ,
  U3C_DB_OPERATION_RESULT_ERROR_IO ,
  U3C_DB_OPERATION_RESULT_ERROR_DUPLICATE ,
  U3C_DB_OPERATION_RESULT_FAIL_DNE ,
  U3C_DB_OPERATION_RESULT_FAIL_FULL ,
  U3C_DB_OPERATION_RESULT_FAIL_OCCUPIED ,
  U3C_DB_OPERATION_RESULT_FAIL_REASSIGN ,
  U3C_DB_OPERATION_RESULT_FAIL_IDENTICAL
}
 

Functions

void CC_UserCredential_factory_reset (void)
 
void CC_UserCredential_init_database (void)
 
u3c_db_operation_result CC_UserCredential_get_user (uint16_t unique_identifier, u3c_user_t *user, uint8_t *name)
 
uint16_t CC_UserCredential_get_next_user (uint16_t unique_identifier)
 
u3c_db_operation_result CC_UserCredential_add_user (u3c_user_t *user, uint8_t *name)
 
u3c_db_operation_result CC_UserCredential_modify_user (u3c_user_t *user, uint8_t *name)
 
u3c_db_operation_result CC_UserCredential_delete_user (uint16_t user_unique_identifier)
 
u3c_db_operation_result CC_UserCredential_get_credential (uint16_t user_unique_identifier, u3c_credential_type credential_type, uint16_t credential_slot, u3c_credential_metadata_t *credential_metadata, uint8_t *credential_data)
 
bool CC_UserCredential_get_next_credential (uint16_t user_unique_identifier, u3c_credential_type credential_type, uint16_t credential_slot, u3c_credential_type *next_credential_type, uint16_t *next_credential_slot)
 
u3c_db_operation_result CC_UserCredential_add_credential (u3c_credential_t *credential)
 
u3c_db_operation_result CC_UserCredential_modify_credential (u3c_credential_t *credential)
 
u3c_db_operation_result CC_UserCredential_delete_credential (u3c_credential_type credential_type, uint16_t credential_slot)
 
u3c_db_operation_result CC_UserCredential_move_credential (u3c_credential_type credential_type, uint16_t source_credential_slot, uint16_t destination_user_uid, uint16_t destination_credential_slot)
 
u3c_db_operation_result CC_UserCredential_get_admin_code_info (u3c_admin_code_metadata_t *code)
 
u3c_db_operation_result CC_UserCredential_set_admin_code (u3c_admin_code_metadata_t *code)
 

Detailed Description

User Credential Command Class I/O abstraction.