Skip to content

Commit bbacd88

Browse files
Nenad KljajicThomasdjb
Nenad Kljajic
authored andcommitted
SiliconLabsGH-23: [Patch Integration] Implement command GetAllPINCodes in ZPC
This is a patch integration into the Unify codebase. This may be squashed into the original commit. Origin: SiliconLabs#23 Bug-SiliconLabs: UIC-3201 Signed-off-by: Nenad Kljajic <[email protected]> Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop Last-Update: 2024-01-18 (cherry picked from commit db74b5f2abe795d3ee1f54c8387dec9d4ded81be)
1 parent 1ec5ccd commit bbacd88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

applications/zpc/components/zcl_cluster_servers/src/user_code_cluster_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ sl_status_t user_code_cluster_server_init()
383383
// Register the callback for handling commands from IoT service
384384
uic_mqtt_dotdot_door_lock_setpin_code_callback_set(&set_pin_code_command);
385385
uic_mqtt_dotdot_door_lock_getpin_code_callback_set(&get_pin_code_command);
386-
uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set(&get_all_pin_codes_command);
386+
uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set(&get_all_pin_codes_command);
387387
uic_mqtt_dotdot_door_lock_clearpin_code_callback_set(&clear_pin_code_command);
388388
uic_mqtt_dotdot_door_lock_clear_allpin_codes_callback_set(
389389
&clear_all_pin_codes_command);

applications/zpc/components/zwave_command_classes/src/zwave_command_class_user_code.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,15 +980,15 @@ static void zwave_command_class_user_code_on_code_update(
980980
}
981981

982982
if (attribute_store_is_desired_defined(updated_node) == false) {
983-
uic_mqtt_dotdot_door_lock_command_getpin_code_response_fields_t fields =
983+
uic_mqtt_dotdot_door_lock_command_get_pin_code_response_fields_t fields =
984984
{
985985
.userid = (DrlkPINUserID) user_id,
986986
.user_status = (DrlkUserStatus) user_status,
987987
.user_type = (DrlkUserType) ZCL_DRLK_USER_TYPE_UNRESTRICTED_USER,
988988
.code = pin_code
989989
};
990990

991-
uic_mqtt_dotdot_door_lock_publish_generated_getpin_code_response_command(
991+
uic_mqtt_dotdot_door_lock_publish_generated_get_pin_code_response_command(
992992
node_unid, endpoint_id, &fields);
993993
}
994994
}

0 commit comments

Comments
 (0)