Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
cc_user_credential_validation.h
Go to the documentation of this file.
1
8#ifndef CC_USER_CREDENTIAL_VALIDATION_H
9#define CC_USER_CREDENTIAL_VALIDATION_H
10
11#include "CC_UserCredential.h"
12
17
29 const u3c_credential_t * const p_credential,
30 u3c_credential_metadata_t * p_existing_metadata
31 );
32
43
53 const u3c_credential_metadata_t * const p_metadata
54 );
55
64 uint16_t uuid
65 );
66
79 u3c_credential_t * p_credential,
80 RECEIVE_OPTIONS_TYPE_EX * p_rx_options
81 );
82
102
112bool validate_user_name_encoding(const uint8_t * p_name, uint8_t p_name_length, u3c_user_name_encoding p_name_encoding);
113
114#endif /* CC_USER_CREDENTIAL_VALIDATION_H */
Handler and API for Command Class User Credential.
bool validate_associated_uuid(uint16_t uuid)
bool validate_user_name_encoding(const uint8_t *p_name, uint8_t p_name_length, u3c_user_name_encoding p_name_encoding)
bool validate_credential_data(u3c_credential_t *p_credential, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
bool(* u3c_credential_type_validator_t)(u3c_credential_t *, RECEIVE_OPTIONS_TYPE_EX *)
Definition cc_user_credential_validation.h:16
bool validate_new_credential_metadata(const u3c_credential_metadata_t *const p_metadata)
bool find_existing_credential(const u3c_credential_t *const p_credential, u3c_credential_metadata_t *p_existing_metadata)
bool validate_admin_pin_code(u3c_admin_code_metadata_t *const data)
Validates that credential does not exist in the database, is not a duplicate of the admin code and co...
bool validate_new_credential_data(u3c_credential_t *p_credential, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
enum u3c_user_name_encoding_ u3c_user_name_encoding
Definition ZAF_types.h:71
Definition CC_UserCredential.h:228
Definition CC_UserCredential.h:182
Definition CC_UserCredential.h:191