|
void | tr_door_lock_server_init_cb (void) |
| Callback fires when the door lock server cluster plugin is initialized.
|
|
zb_bool_t | tr_door_lock_server_lock_door_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t *pin_code) |
| Callback that user can declare to handle door lock cluster lock door command.
|
|
zb_bool_t | tr_door_lock_server_unlock_door_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint8_t *pin_code) |
| Callback that user can declare to handle door lock cluster unlock door command.
|
|
zb_bool_t | tr_door_lock_server_set_pin_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id, zb_uint8_t user_status, zb_uint8_t user_type, zb_uint8_t *pin_code) |
| Callback that user can declare to handle door lock cluster set pin command.
|
|
zb_bool_t | tr_door_lock_server_get_pin_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id) |
| Callback that user can declare to handle door lock cluster get pin command.
|
|
zb_bool_t | tr_door_lock_server_clear_pin_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id) |
| Callback that user can declare to handle door lock cluster clear pin command.
|
|
zb_bool_t | tr_door_lock_server_clear_all_pins_cb (zb_zcl_parsed_hdr_t *cmd_info) |
| Callback that user can declare to handle door lock cluster clear all pins command.
|
|
zb_bool_t | tr_door_lock_server_set_user_status_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id, zb_uint8_t user_status) |
| Callback that user can declare to handle door lock cluster set user status command.
|
|
zb_bool_t | tr_door_lock_server_get_user_status_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id) |
| Callback that user can declare to handle door lock cluster get user status command.
|
|
zb_bool_t | tr_door_lock_server_set_user_type_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id, zb_uint8_t user_type) |
| Callback that user can declare to handle door lock cluster set user type command.
|
|
zb_bool_t | tr_door_lock_server_get_user_type_cb (zb_zcl_parsed_hdr_t *cmd_info, zb_uint16_t user_id) |
| Callback that user can declare to handle door lock cluster get user type command.
|
|
void | tr_door_lock_server_write_attr_cb (zb_uint8_t endpoint, zb_uint16_t attr_id, zb_uint8_t *new_value, zb_uint16_t manuf_code) |
| Callback fires when a door lock server attribute is about to be written.
|
|
void | tr_door_lock_server_update_lock_state (zb_uint8_t endpoint, zb_uint8_t lock_state, zb_uint8_t source, zb_uint16_t user, zb_uint8_t *pin_code) |
| API used to notify the door lock server plugin of lock state changes.
|
|
void | tr_door_lock_server_send_op_event_notification (zb_uint8_t endpoint, zb_uint8_t source, zb_uint8_t code, zb_uint16_t user, zb_uint8_t *pin, zb_uint8_t mask_bit) |
| API used to send an operation event notification.
|
|
zb_bool_t | tr_door_lock_server_verify_user (zb_uint8_t endpoint, zb_bool_t rf_operation, zb_char_t *pin_code, zb_uint16_t *user) |
| API used to verify a PIN code.
|
|
tr_door_lock_set_pin_or_id_status_t | tr_door_lock_server_add_user (zb_uint16_t user, tr_door_lock_user_status_t status, tr_door_lock_user_type_t type, zb_char_t *pin_code) |
| API used to add a user to the table.
|
|
zb_bool_t | tr_door_lock_server_get_user (zb_uint16_t user, tr_door_lock_server_pin_code_arg_t *user_info) |
| API used to get a user table entry.
|
|
zb_bool_t | tr_door_lock_server_delete_user (zb_uint16_t user) |
| API to delete an entry from the user table.
|
|
void | tr_door_lock_server_delete_all_pin_users (void) |
| API to delete ALL entries from the user table.
|
|
zb_bool_t | tr_door_lock_server_set_user_status (zb_uint16_t user, zb_uint8_t user_status) |
| API to set the status for a user in the user able.
|
|
zb_bool_t | tr_door_lock_server_get_user_status (zb_uint16_t user, tr_door_lock_server_user_status_arg_t *user_info) |
| API to get the status of a user in the user table.
|
|
zb_bool_t | tr_door_lock_server_set_user_type (zb_uint16_t user, zb_uint8_t user_type) |
| API to set the type of a user in the user table.
|
|
zb_bool_t | tr_door_lock_server_get_user_type (zb_uint16_t user, tr_door_lock_server_user_type_arg_t *user_info) |
| API to get the type of a user from the user table.
|
|
void | tr_door_lock_server_print_users (void) |
| API to print the user table.
|
|
void | tr_door_lock_server_init (void) |
|
void | tr_door_lock_server_users_init (void) |
|
ZCL DOOR LOCK cluster server implementation.
SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com