Skip to content

Commit 83e60ee

Browse files
committed
SiliconLabsGH-23: return SL_STATUS_NOT_AVAILABLE to avoid breaking zigpc
Bug-SiliconLabs: UIC-3201 Signed-off-by: Thomas du Boisrouvray <thdubois@silabs.com> Forwared-SiliconLabs: thdubois/UIC-3072/c4/develop (cherry picked from commit 5a445787e735313f67e7755a25950d08fe090096)
1 parent 201de4d commit 83e60ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_handlers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,7 +4245,7 @@ sl_status_t zigpc_command_mapper_door_lock_get_all_pin_codes_handler(
42454245
const dotdot_endpoint_id_t endpoint,
42464246
uic_mqtt_dotdot_callback_call_type_t callback_type
42474247
) {
4248-
sl_status_t status = SL_STATUS_OK;
4248+
sl_status_t status = SL_STATUS_NOT_AVAILABLE;
42494249

42504250
if (callback_type == UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK) {
42514251
status = zigpc_command_mapper_cluster_support_check(unid, endpoint, ZIGPC_ZCL_CLUSTER_DOOR_LOCK);
@@ -4271,7 +4271,7 @@ sl_status_t zigpc_command_mapper_door_lock_get_all_pin_codes_handler(
42714271
}
42724272

42734273
// Always return SL_STATUS_OK if being called normally.
4274-
return SL_STATUS_OK;
4274+
return status;
42754275
}
42764276

42774277
/**

0 commit comments

Comments
 (0)