Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
cc_user_credential_operations.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Silicon Laboratories Inc. <https://www.silabs.com/>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
25
26#ifndef CC_USER_CREDENTIAL_OPERATIONS_H
27#define CC_USER_CREDENTIAL_OPERATIONS_H
28
29/****************************************************************************/
30/* INCLUDE FILES */
31/****************************************************************************/
32
34
41
42/****************************************************************************/
43/* API FUNCTIONS */
44/****************************************************************************/
45
55 u3c_user_t * p_user,
56 uint8_t * p_name,
57 RECEIVE_OPTIONS_TYPE_EX * p_rx_options
58 );
59
69 u3c_user_t * p_user, uint8_t * p_name, RECEIVE_OPTIONS_TYPE_EX * p_rx_options
70 );
71
80 uint16_t uuid, RECEIVE_OPTIONS_TYPE_EX * p_rx_options
81 );
82
91 u3c_credential_t * p_credential, RECEIVE_OPTIONS_TYPE_EX * p_rx_options
92 );
93
102 u3c_credential_t * p_credential, RECEIVE_OPTIONS_TYPE_EX * p_rx_options
103 );
104
116 uint16_t uuid, u3c_credential_type credential_type,
117 uint16_t credential_slot, RECEIVE_OPTIONS_TYPE_EX * p_rx_options
118 );
119
130 u3c_credential_type credential_type,
131 uint16_t credential_slot, uint16_t destination_uuid,
132 RECEIVE_OPTIONS_TYPE_EX * p_rx_options
133 );
134
145 u3c_credential_metadata_t const * const p_source_metadata,
146 u3c_credential_metadata_t const * const p_destination_metadata,
148 RECEIVE_OPTIONS_TYPE_EX * const p_rx_options
149 );
150
159 uint16_t uuid,
160 u3c_credential_type filter_type
161 );
162
167
168#endif /* CC_USER_CREDENTIAL_OPERATIONS_H */
struct _RECEIVE_OPTIONS_TYPE_EX_ RECEIVE_OPTIONS_TYPE_EX
u3c_db_operation_result CC_UserCredential_delete_credential_and_report(uint16_t uuid, u3c_credential_type credential_type, uint16_t credential_slot, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to delete a credential from the database and reports the result.
struct u3c_user_t_ u3c_user_t
u3c_user_credential_association_report_status_t
Definition CC_UserCredential.h:107
enum u3c_credential_type_ u3c_credential_type
struct u3c_credential_t_ u3c_credential_t
u3c_db_operation_result CC_UserCredential_add_credential_and_report(u3c_credential_t *p_credential, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to add a new credential to the database and reports the result.
enum u3c_db_operation_result_ u3c_db_operation_result
u3c_db_operation_result CC_UserCredential_modify_user_and_report(u3c_user_t *p_user, uint8_t *p_name, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to modify a user in the database and reports the result.
u3c_db_operation_result CC_UserCredential_modify_credential_and_report(u3c_credential_t *p_credential, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to modify a credential in the database and reports the result.
void CC_UserCredential_delete_all_credentials_of_type(uint16_t uuid, u3c_credential_type filter_type)
u3c_db_operation_result CC_UserCredential_delete_user_and_report(uint16_t uuid, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to delete a user from the database and reports the result.
struct u3c_credential_metadata_t_ u3c_credential_metadata_t
bool CC_UserCredential_send_association_report(u3c_credential_metadata_t const *const p_source_metadata, u3c_credential_metadata_t const *const p_destination_metadata, u3c_user_credential_association_report_status_t const status, RECEIVE_OPTIONS_TYPE_EX *const p_rx_options)
Sends a USER_CREDENTIAL_ASSOCIATION_REPORT frame.
u3c_db_operation_result CC_UserCredential_move_credential_and_report(u3c_credential_type credential_type, uint16_t credential_slot, uint16_t destination_uuid, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Assigns a credential to a different user.
u3c_db_operation_result CC_UserCredential_add_user_and_report(u3c_user_t *p_user, uint8_t *p_name, RECEIVE_OPTIONS_TYPE_EX *p_rx_options)
Tries to add a new user to the database and reports the result.