diff --git a/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_bygroup_handlers.cpp b/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_bygroup_handlers.cpp index 2eb7aa272f..93598aed17 100644 --- a/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_bygroup_handlers.cpp +++ b/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_bygroup_handlers.cpp @@ -2275,7 +2275,7 @@ void zigpc_command_mapper_bygroup_door_lock_clear_allrfid_codes_handler( * @param group_id UCL group identifier. */ -void zigpc_command_mapper_bygroup_door_lock_get_allpin_codes_handler( +void zigpc_command_mapper_bygroup_door_lock_get_all_pin_codes_handler( const dotdot_group_id_t group_id ) { @@ -2286,7 +2286,7 @@ void zigpc_command_mapper_bygroup_door_lock_get_allpin_codes_handler( group_id, ZIGPC_ZCL_FRAME_TYPE_CMD_TO_SERVER, ZIGPC_ZCL_CLUSTER_DOOR_LOCK, - ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_GET_ALLPIN_CODES, + ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_GET_ALL_PIN_CODES, 0, nullptr ); @@ -4100,7 +4100,7 @@ sl_status_t zigpc_command_mapper_mqtt_bygroup_handlers_init(void) uic_mqtt_dotdot_by_group_door_lock_clearrfid_code_callback_set(zigpc_command_mapper_bygroup_door_lock_clearrfid_code_handler); uic_mqtt_dotdot_by_group_door_lock_clear_allrfid_codes_callback_set(zigpc_command_mapper_bygroup_door_lock_clear_allrfid_codes_handler); uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_set(zigpc_command_mapper_bygroup_door_lock_get_allpin_codes_handler); - uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_set(zigpc_command_mapper_bygroup_door_lock_get_allpin_codes_handler); + uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_set(zigpc_command_mapper_bygroup_door_lock_get_all_pin_codes_handler); uic_mqtt_dotdot_by_group_thermostat_write_attributes_callback_set(zigpc_command_mapper_bygroup_thermostat_write_attributes_handler); uic_mqtt_dotdot_by_group_thermostat_setpoint_raise_or_lower_callback_set(zigpc_command_mapper_bygroup_thermostat_setpoint_raise_or_lower_handler); uic_mqtt_dotdot_by_group_thermostat_set_weekly_schedule_callback_set(zigpc_command_mapper_bygroup_thermostat_set_weekly_schedule_handler); diff --git a/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_handlers.cpp b/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_handlers.cpp index 216420259e..a26e7d5341 100644 --- a/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_handlers.cpp +++ b/applications/zigpc/components/command_mapper/zap-generated/src/zigpc_command_mapper_handlers.cpp @@ -4240,7 +4240,7 @@ sl_status_t zigpc_command_mapper_door_lock_clear_allrfid_codes_handler( * @return SL_STATUS_OK if callback_type == UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK and command is supported by the unid/endpoint * @return SL_STATUS_NOT_AVAILABLE if callback_type == UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK and command is not supported by the unid/endpoint */ -sl_status_t zigpc_command_mapper_door_lock_get_allpin_codes_handler( +sl_status_t zigpc_command_mapper_door_lock_get_all_pin_codes_handler( const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t callback_type @@ -4264,7 +4264,7 @@ sl_status_t zigpc_command_mapper_door_lock_get_allpin_codes_handler( endpoint, ZIGPC_ZCL_FRAME_TYPE_CMD_TO_SERVER, ZIGPC_ZCL_CLUSTER_DOOR_LOCK, - ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_GET_ALLPIN_CODES, + ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_get_all_pin_CODES, 0, nullptr ); @@ -8146,9 +8146,8 @@ sl_status_t zigpc_command_mapper_register_dotdot_mqtt_handlers(void) zigpc_command_mapper_door_lock_get_allpin_codes_handler ); ); - - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set( - zigpc_command_mapper_door_lock_get_allpin_codes_handler + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set( + zigpc_command_mapper_door_lock_get_all_pin_codes_handler uic_mqtt_dotdot_set_thermostat_write_attributes_callback( zigpc_command_mapper_thermostat_write_attributes_handler ); diff --git a/applications/zigpc/components/zcl_util/zap-generated/include/zcl_definitions.h b/applications/zigpc/components/zcl_util/zap-generated/include/zcl_definitions.h index 2e20f1842b..ebb064c1b1 100644 --- a/applications/zigpc/components/zcl_util/zap-generated/include/zcl_definitions.h +++ b/applications/zigpc/components/zcl_util/zap-generated/include/zcl_definitions.h @@ -479,7 +479,7 @@ typedef enum { ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_CLEAR_ALLRFID_CODES_RESPONSE = 0x19, ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_OPERATING_EVENT_NOTIFICATION = 0x20, ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_PROGRAMMING_EVENT_NOTIFICATION = 0x21, - ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_GET_ALLPIN_CODES = 0x80, + ZIGPC_ZCL_CLUSTER_DOOR_LOCK_COMMAND_GET_ALL_PIN_CODES = 0x80, } zigpc_zcl_door_lock_command_type_t; /***************************************************************** diff --git a/components/uic_dotdot/zap-generated/include/dotdot_cluster_command_id_definitions.h b/components/uic_dotdot/zap-generated/include/dotdot_cluster_command_id_definitions.h index e7d36584e4..d3846ccba2 100644 --- a/components/uic_dotdot/zap-generated/include/dotdot_cluster_command_id_definitions.h +++ b/components/uic_dotdot/zap-generated/include/dotdot_cluster_command_id_definitions.h @@ -189,7 +189,7 @@ #define DOTDOT_DOOR_LOCK_CLEAR_ALLRFID_CODES_RESPONSE_COMMAND_ID (0x19) #define DOTDOT_DOOR_LOCK_OPERATING_EVENT_NOTIFICATION_COMMAND_ID (0x20) #define DOTDOT_DOOR_LOCK_PROGRAMMING_EVENT_NOTIFICATION_COMMAND_ID (0x21) -#define DOTDOT_DOOR_LOCK_GET_ALLPIN_CODES_COMMAND_ID (0x80) +#define DOTDOT_DOOR_LOCK_GET_ALL_PIN_CODES_COMMAND_ID (0x80) // Commands for cluster: WindowCovering #define DOTDOT_WINDOW_COVERING_UP_OR_OPEN_COMMAND_ID (0x0) diff --git a/components/uic_dotdot/zap-generated/readme_ucl_mqtt_reference.md b/components/uic_dotdot/zap-generated/readme_ucl_mqtt_reference.md index 4774d6f7da..67daa63d64 100644 --- a/components/uic_dotdot/zap-generated/readme_ucl_mqtt_reference.md +++ b/components/uic_dotdot/zap-generated/readme_ucl_mqtt_reference.md @@ -16706,7 +16706,7 @@ mosquitto_sub -t 'ucl/by-unid///DoorLock/GeneratedCommands/Programming

-\subsection door_lock_get_allpin_codes_cmd DoorLock/GetAllPINCodes Command +\subsection door_lock_get_all_pin_codes_cmd DoorLock/GetAllPINCodes Command **MQTT Topic Pattern:** diff --git a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt.h b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt.h index 75a64fc249..b909eb81b0 100644 --- a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt.h +++ b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt.h @@ -9931,7 +9931,7 @@ typedef sl_status_t (*uic_mqtt_dotdot_door_lock_programming_event_notification_c const char* data ); -typedef sl_status_t (*uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t)( +typedef sl_status_t (*uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t)( dotdot_unid_t unid, dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t call_type @@ -12704,44 +12704,44 @@ void uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback void uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback_clear(); /** * @brief Setup callback to be called when a - * DoorLock/Commands/get_allpin_codes is received. + * DoorLock/Commands/get_all_pin_codes is received. * * Setting this callback will not overwrite the previous set callback * @param callback Function to be called on command reception */ -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback); +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback); /** * @brief Unsets callback to be called when a - * DoorLock/Commands/get_allpin_codes is received. + * DoorLock/Commands/get_all_pin_codes is received. * * @param callback Function to be no longer called on command reception */ -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback); +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback); /** * @brief Clears all callbacks registered for when - * DoorLock/Commands/get_allpin_codes is received. + * DoorLock/Commands/get_all_pin_codes is received. */ -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_clear(); +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_clear(); /** * @brief Setup callback to be called when a - * +/DoorLock/GeneratedCommands/get_allpin_codes is received. + * +/DoorLock/GeneratedCommands/get_all_pin_codes is received. * * Setting this callback will not overwrite the previous set callback * @param callback Function to be called on command reception */ -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback); +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback); /** * @brief Unsets callback to be called when a - * +/DoorLock/GeneratedCommands/get_allpin_codes is received. + * +/DoorLock/GeneratedCommands/get_all_pin_codes is received. * @param callback Function to be no longer called on command reception */ -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback); +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback); /** * @brief Clears all callbacks registered for when - * +/DoorLock/GeneratedCommands/get_allpin_codes is received. + * +/DoorLock/GeneratedCommands/get_all_pin_codes is received. */ -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_clear(); +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_clear(); /** * @brief Setup a callback for WriteAttribute to be called when a diff --git a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_generated_commands.h b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_generated_commands.h index e7b29811e7..c38da7f6ed 100644 --- a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_generated_commands.h +++ b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_generated_commands.h @@ -2655,7 +2655,7 @@ void uic_mqtt_dotdot_door_lock_publish_generated_programming_event_notification_ * * */ -void uic_mqtt_dotdot_door_lock_publish_generated_get_allpin_codes_command( +void uic_mqtt_dotdot_door_lock_publish_generated_get_all_pin_codes_command( const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint ); diff --git a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_group_commands.h b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_group_commands.h index 250b21cf9e..51a6f9e088 100644 --- a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_group_commands.h +++ b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_group_commands.h @@ -2057,17 +2057,17 @@ void uic_mqtt_dotdot_by_group_door_lock_programming_event_notification_callback_ /** * @brief Callback signature for by-group DoorLock::GetAllPINCodes command. */ -typedef void (*uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_t)( +typedef void (*uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_t)( const dotdot_group_id_t group_id ); /** * Setup handler to be called when a - * ucl/by-group/+/DoorLock/get_allpin_codes is received. + * ucl/by-group/+/DoorLock/get_all_pin_codes is received. * Setting this callback will overwrite the previous set callback. * */ -void uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_set(const uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_t callback); +void uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_t callback); typedef void (*uic_mqtt_dotdot_by_group_door_lock_write_attributes_callback_t)( const dotdot_group_id_t group_id, diff --git a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_send_commands.h b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_send_commands.h index 1c995f1c4e..9c554bdd47 100644 --- a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_send_commands.h +++ b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_send_commands.h @@ -4383,7 +4383,7 @@ void uic_mqtt_dotdot_door_lock_publish_programming_event_notification_command_to * * */ -void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command( +void uic_mqtt_dotdot_door_lock_publish_get_all_pin_codes_command( const dotdot_unid_t destination_unid, const dotdot_endpoint_id_t destination_endpoint ); @@ -4398,7 +4398,7 @@ void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command( * @param destination_group_id The GroupID that should receive the command. * */ -void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command_to_group( +void uic_mqtt_dotdot_door_lock_publish_get_all_pin_codes_command_to_group( uint16_t destination_group_id ); /** diff --git a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_supported_generated_commands.h b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_supported_generated_commands.h index 5b222b32a1..95cc4009fe 100644 --- a/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_supported_generated_commands.h +++ b/components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt_supported_generated_commands.h @@ -488,7 +488,7 @@ typedef struct _uic_mqtt_dotdot_door_lock_supported_commands_ { bool clear_allrfid_codes_response; bool operating_event_notification; bool programming_event_notification; - bool get_allpin_codes; + bool get_all_pin_codes; bool write_attributes; } uic_mqtt_dotdot_door_lock_supported_commands_t; diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.cpp index 902021abaa..2c047784ce 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.cpp @@ -22681,8 +22681,8 @@ static std::set uic_mqtt_dotdot_door_lock_generated_operating_event_notification_callback; static std::set uic_mqtt_dotdot_door_lock_programming_event_notification_callback; static std::set uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback; -static std::set uic_mqtt_dotdot_door_lock_get_allpin_codes_callback; -static std::set uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback; +static std::set uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback; +static std::set uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback; static std::set uic_mqtt_dotdot_door_lock_write_attributes_callback; static std::set uic_mqtt_dotdot_door_lock_force_read_attributes_callback; @@ -24469,38 +24469,38 @@ void uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback { uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback.clear(); } -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback) +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback) { if (callback != nullptr) { - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback.insert(callback); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback.insert(callback); } } -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback) +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback) { - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback.erase(callback); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback.erase(callback); } -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_clear() +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_clear() { - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback.clear(); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback.clear(); } -std::set& get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback() +std::set& get_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback() { - return uic_mqtt_dotdot_door_lock_get_allpin_codes_callback; + return uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback; } -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback) +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback) { if (callback != nullptr) { - uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback.insert(callback); + uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback.insert(callback); } } -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback) +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_unset(const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback) { - uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback.erase(callback); + uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback.erase(callback); } -void uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback_clear() +void uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback_clear() { - uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback.clear(); + uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback.clear(); } void uic_mqtt_dotdot_set_door_lock_write_attributes_callback( @@ -31597,12 +31597,12 @@ static void uic_mqtt_dotdot_on_generated_door_lock_programming_event_notificatio // Callback function for incoming publications on ucl/by-unid/+/+/DoorLock/Commands/GetAllPINCodes -void uic_mqtt_dotdot_on_door_lock_get_allpin_codes( +void uic_mqtt_dotdot_on_door_lock_get_all_pin_codes( const char *topic, const char *message, const size_t message_length) { - if (message_length == 0 || (uic_mqtt_dotdot_door_lock_get_allpin_codes_callback.empty())) { + if (message_length == 0 || (uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback.empty())) { return; } @@ -31637,7 +31637,7 @@ void uic_mqtt_dotdot_on_door_lock_get_allpin_codes( - for (const auto& callback: uic_mqtt_dotdot_door_lock_get_allpin_codes_callback){ + for (const auto& callback: uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback){ callback( static_cast(unid.c_str()), endpoint, @@ -31648,12 +31648,12 @@ void uic_mqtt_dotdot_on_door_lock_get_allpin_codes( } // Callback function for incoming publications on ucl/by-unid/+/+/DoorLock/GeneratedCommands/GetAllPINCodes -static void uic_mqtt_dotdot_on_generated_door_lock_get_allpin_codes( +static void uic_mqtt_dotdot_on_generated_door_lock_get_all_pin_codes( const char *topic, const char *message, const size_t message_length) { - if (message_length == 0 || (uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback.empty())) { + if (message_length == 0 || (uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback.empty())) { return; } @@ -31689,7 +31689,7 @@ static void uic_mqtt_dotdot_on_generated_door_lock_get_allpin_codes( - for (const auto& callback: uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback){ + for (const auto& callback: uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback){ callback( static_cast(unid.c_str()), endpoint, @@ -35362,13 +35362,13 @@ sl_status_t uic_mqtt_dotdot_door_lock_init() subscription_topic = base_topic + "DoorLock/GeneratedCommands/ProgrammingEventNotification"; uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_generated_door_lock_programming_event_notification); } - if (!uic_mqtt_dotdot_door_lock_get_allpin_codes_callback.empty()) { + if (!uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback.empty()) { subscription_topic = base_topic + "DoorLock/Commands/GetAllPINCodes"; - uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_door_lock_get_allpin_codes); + uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_door_lock_get_all_pin_codes); } - if (!uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback.empty()) { + if (!uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback.empty()) { subscription_topic = base_topic + "DoorLock/GeneratedCommands/GetAllPINCodes"; - uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_generated_door_lock_get_allpin_codes); + uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_generated_door_lock_get_all_pin_codes); } // Init the attributes for that cluster @@ -97714,11 +97714,11 @@ static inline bool uic_mqtt_dotdot_door_lock_programming_event_notification_is_s return false; } -static inline bool uic_mqtt_dotdot_door_lock_get_allpin_codes_is_supported( +static inline bool uic_mqtt_dotdot_door_lock_get_all_pin_codes_is_supported( const dotdot_unid_t unid, dotdot_endpoint_id_t endpoint_id) { - for (const auto& callback: uic_mqtt_dotdot_door_lock_get_allpin_codes_callback) { + for (const auto& callback: uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback) { if (callback( unid, endpoint_id, UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK ) == SL_STATUS_OK) { @@ -98156,7 +98156,7 @@ void uic_mqtt_dotdot_door_lock_publish_supported_commands( first_command = false; ss << R"("ProgrammingEventNotification")"; } - if (uic_mqtt_dotdot_door_lock_get_allpin_codes_is_supported(unid, endpoint_id)) { + if (uic_mqtt_dotdot_door_lock_get_all_pin_codes_is_supported(unid, endpoint_id)) { if (first_command == false) { ss << ", "; } @@ -110024,7 +110024,7 @@ void uic_mqtt_dotdot_door_lock_publish_generated_programming_event_notification_ * * */ -void uic_mqtt_dotdot_door_lock_publish_generated_get_allpin_codes_command( +void uic_mqtt_dotdot_door_lock_publish_generated_get_all_pin_codes_command( const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint ) { @@ -110034,7 +110034,7 @@ void uic_mqtt_dotdot_door_lock_publish_generated_get_allpin_codes_command( topic += "DoorLock/GeneratedCommands/GetAllPINCodes"; std::string payload = - get_json_payload_for_door_lock_get_allpin_codes_command( + get_json_payload_for_door_lock_get_all_pin_codes_command( ); // Publish our command diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.hpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.hpp index dd1a7667b1..269a125ca8 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.hpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.hpp @@ -2788,14 +2788,14 @@ void uic_mqtt_dotdot_on_door_lock_programming_event_notification( * * @returns std::set of callbacks. */ -std::set &get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback(); +std::set &get_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback(); /** * @brief MQTT Subscribe handler for incoming publications on: * ucl/by-unid/+/+/DoorLock/Commands/GetAllPINCodes */ // clang-format off -void uic_mqtt_dotdot_on_door_lock_get_allpin_codes( +void uic_mqtt_dotdot_on_door_lock_get_all_pin_codes( const char *topic, const char *message, const size_t message_length); diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.cpp index 641adbcdef..4ed047c1b4 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.cpp @@ -7842,7 +7842,7 @@ void uic_mqtt_dotdot_parse_door_lock_programming_event_notification( } -std::string get_json_payload_for_door_lock_get_allpin_codes_command( +std::string get_json_payload_for_door_lock_get_all_pin_codes_command( ){ bool command_with_no_fields = true; diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.hpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.hpp index 80fa9dbf08..476d38c79c 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.hpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_command_helpers.hpp @@ -3459,7 +3459,7 @@ void uic_mqtt_dotdot_parse_door_lock_programming_event_notification( * * @returns std::string that contains JSON payload */ -std::string get_json_payload_for_door_lock_get_allpin_codes_command( +std::string get_json_payload_for_door_lock_get_all_pin_codes_command( ); diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_generated_commands.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_generated_commands.cpp index 51ef210b60..04749493d4 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_generated_commands.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_generated_commands.cpp @@ -5388,7 +5388,7 @@ void uic_mqtt_dotdot_door_lock_publish_generated_programming_event_notification_ * * */ -void uic_mqtt_dotdot_door_lock_publish_generated_get_allpin_codes_command( +void uic_mqtt_dotdot_door_lock_publish_generated_get_all_pin_codes_command( const dotdot_unid_t unid, const dotdot_endpoint_id_t endpoint ) { @@ -5398,7 +5398,7 @@ void uic_mqtt_dotdot_door_lock_publish_generated_get_allpin_codes_command( topic += "DoorLock/GeneratedCommands/GetAllPINCodes"; std::string payload = - get_json_payload_for_door_lock_get_allpin_codes_command( + get_json_payload_for_door_lock_get_all_pin_codes_command( ); // Publish our command diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_group_commands.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_group_commands.cpp index 9d5623ee5c..b8f55f1c6b 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_group_commands.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_group_commands.cpp @@ -194,7 +194,7 @@ static uic_mqtt_dotdot_by_group_door_lock_clear_allrfid_codes_callback_t uic_mqt static uic_mqtt_dotdot_by_group_door_lock_clear_allrfid_codes_response_callback_t uic_mqtt_dotdot_by_group_door_lock_clear_allrfid_codes_response_callback = nullptr; static uic_mqtt_dotdot_by_group_door_lock_operating_event_notification_callback_t uic_mqtt_dotdot_by_group_door_lock_operating_event_notification_callback = nullptr; static uic_mqtt_dotdot_by_group_door_lock_programming_event_notification_callback_t uic_mqtt_dotdot_by_group_door_lock_programming_event_notification_callback = nullptr; -static uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_t uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback = nullptr; +static uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_t uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback = nullptr; static uic_mqtt_dotdot_by_group_door_lock_write_attributes_callback_t uic_mqtt_dotdot_by_group_door_lock_write_attributes_callback = nullptr; @@ -1149,9 +1149,9 @@ void uic_mqtt_dotdot_by_group_door_lock_programming_event_notification_callback_ } -void uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_set(const uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback_t callback) +void uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_set(const uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback_t callback) { - uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback = callback; + uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback = callback; } void uic_mqtt_dotdot_by_group_door_lock_write_attributes_callback_set( @@ -13555,12 +13555,12 @@ static void uic_mqtt_dotdot_on_by_group_door_lock_programming_event_notification } // Callback function for incoming publications on ucl/by-group/+/DoorLock/Commands/GetAllPINCodes -static void uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes( +static void uic_mqtt_dotdot_on_by_group_door_lock_get_all_pin_codes( const char *topic, const char *message, const size_t message_length) { - if ((group_dispatch_callback == nullptr) && (uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback == nullptr)) { + if ((group_dispatch_callback == nullptr) && (uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback == nullptr)) { return; } if (message_length == 0) { @@ -13577,7 +13577,7 @@ static void uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes( // Pass to command-specific callback if set. Otherwise, pass to // group-dispatch callback - if (uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback != nullptr) { + if (uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback != nullptr) { @@ -13603,10 +13603,10 @@ static void uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes( return; } - uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback( + uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback( group_id ); - } else if ((group_dispatch_callback != nullptr) && (!get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback().empty())) { + } else if ((group_dispatch_callback != nullptr) && (!get_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback().empty())) { // group-dispatch callback only called if the command-specific by-unid // callback is set try { @@ -13618,7 +13618,7 @@ static void uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes( "GetAllPINCodes", message, message_length, - uic_mqtt_dotdot_on_door_lock_get_allpin_codes); + uic_mqtt_dotdot_on_door_lock_get_all_pin_codes); } catch (...) { sl_log_debug(LOG_TAG, "GetAllPINCodes: Unable to parse JSON payload.\n"); @@ -13922,9 +13922,9 @@ sl_status_t uic_mqtt_dotdot_by_group_door_lock_init() subscription_topic = topic_bygroup + "DoorLock/Commands/ProgrammingEventNotification"; uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_by_group_door_lock_programming_event_notification); } - if (uic_mqtt_dotdot_by_group_door_lock_get_allpin_codes_callback) { + if (uic_mqtt_dotdot_by_group_door_lock_get_all_pin_codes_callback) { subscription_topic = topic_bygroup + "DoorLock/Commands/GetAllPINCodes"; - uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes); + uic_mqtt_subscribe(subscription_topic.c_str(), uic_mqtt_dotdot_on_by_group_door_lock_get_all_pin_codes); } return SL_STATUS_OK; @@ -22626,7 +22626,7 @@ void uic_mqtt_dotdot_set_group_dispatch_callback(group_dispatch_t callback) uic_mqtt_subscribe("ucl/by-group/+/DoorLock/Commands/ClearAllRFIDCodesResponse", uic_mqtt_dotdot_on_by_group_door_lock_clear_allrfid_codes_response); uic_mqtt_subscribe("ucl/by-group/+/DoorLock/Commands/OperatingEventNotification", uic_mqtt_dotdot_on_by_group_door_lock_operating_event_notification); uic_mqtt_subscribe("ucl/by-group/+/DoorLock/Commands/ProgrammingEventNotification", uic_mqtt_dotdot_on_by_group_door_lock_programming_event_notification); - uic_mqtt_subscribe("ucl/by-group/+/DoorLock/Commands/GetAllPINCodes", uic_mqtt_dotdot_on_by_group_door_lock_get_allpin_codes); + uic_mqtt_subscribe("ucl/by-group/+/DoorLock/Commands/GetAllPINCodes", uic_mqtt_dotdot_on_by_group_door_lock_get_all_pin_codes); uic_mqtt_subscribe("ucl/by-group/+/WindowCovering/Commands/WriteAttributes", uic_mqtt_dotdot_on_by_group_window_covering_WriteAttributes); uic_mqtt_subscribe("ucl/by-group/+/WindowCovering/Commands/UpOrOpen", uic_mqtt_dotdot_on_by_group_window_covering_up_or_open); diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_send_commands.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_send_commands.cpp index 1507b45b54..eae669abb0 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_send_commands.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_send_commands.cpp @@ -8367,7 +8367,7 @@ void uic_mqtt_dotdot_door_lock_publish_programming_event_notification_command_to * * */ -void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command( +void uic_mqtt_dotdot_door_lock_publish_get_all_pin_codes_command( const dotdot_unid_t destination_unid, const dotdot_endpoint_id_t destination_endpoint ) { @@ -8378,7 +8378,7 @@ void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command( std::string payload = - get_json_payload_for_door_lock_get_allpin_codes_command( + get_json_payload_for_door_lock_get_all_pin_codes_command( ); sl_log_debug(LOG_TAG, "Sending command to %s with payload %s ---", topic.c_str() , payload.c_str()); @@ -8400,7 +8400,7 @@ void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command( * @param destination_group_id The GroupID that should receive the command. * */ -void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command_to_group( +void uic_mqtt_dotdot_door_lock_publish_get_all_pin_codes_command_to_group( uint16_t destination_group_id ){ // Create the topic @@ -8408,7 +8408,7 @@ void uic_mqtt_dotdot_door_lock_publish_get_allpin_codes_command_to_group( "/DoorLock/Commands/GetAllPINCodes"; std::string payload = - get_json_payload_for_door_lock_get_allpin_codes_command( + get_json_payload_for_door_lock_get_all_pin_codes_command( ); sl_log_info(LOG_TAG, "Sending group command to %s with payload %s ---", topic.c_str() , payload.c_str()); diff --git a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_supported_generated_commands.cpp b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_supported_generated_commands.cpp index 6b61675947..c3aeb569b6 100644 --- a/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_supported_generated_commands.cpp +++ b/components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt_supported_generated_commands.cpp @@ -908,7 +908,7 @@ void uic_mqtt_dotdot_door_lock_publish_supported_generated_commands( if (command_list->programming_event_notification == true) { command_vector.emplace_back("ProgrammingEventNotification"); } - if (command_list->get_allpin_codes == true) { + if (command_list->get_all_pin_codes == true) { command_vector.emplace_back("GetAllPINCodes"); } if (command_list->write_attributes == true) { diff --git a/components/uic_dotdot_mqtt/zap-generated/test/dotdot_mqtt_test.include b/components/uic_dotdot_mqtt/zap-generated/test/dotdot_mqtt_test.include index 9bd21e637a..54a3956c40 100644 --- a/components/uic_dotdot_mqtt/zap-generated/test/dotdot_mqtt_test.include +++ b/components/uic_dotdot_mqtt/zap-generated/test/dotdot_mqtt_test.include @@ -1770,13 +1770,13 @@ static sl_status_t uic_mqtt_dotdot_door_lock_programming_event_notification_call return SL_STATUS_OK; } -static unsigned int uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_count; -static sl_status_t uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_func( +static unsigned int uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_count; +static sl_status_t uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_func( dotdot_unid_t unid, dotdot_endpoint_id_t endpoint, uic_mqtt_dotdot_callback_call_type_t callback_type ) { - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_count++; + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_count++; num_command_callbacks++; return SL_STATUS_OK; } @@ -3117,7 +3117,7 @@ static unsigned int set_all_callbacks() num_callbacks++; uic_mqtt_dotdot_door_lock_programming_event_notification_callback_set(&uic_mqtt_dotdot_door_lock_programming_event_notification_callback_func); num_callbacks++; - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set(&uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_func); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set(&uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_func); num_callbacks++; uic_mqtt_dotdot_window_covering_up_or_open_callback_set(&uic_mqtt_dotdot_window_covering_up_or_open_callback_func); num_callbacks++; @@ -3381,7 +3381,7 @@ static void unset_all_callbacks() uic_mqtt_dotdot_door_lock_clear_allrfid_codes_response_callback_clear(); uic_mqtt_dotdot_door_lock_operating_event_notification_callback_clear(); uic_mqtt_dotdot_door_lock_programming_event_notification_callback_clear(); - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_clear(); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_clear(); uic_mqtt_dotdot_clear_door_lock_write_attributes_callbacks(); uic_mqtt_dotdot_window_covering_up_or_open_callback_clear(); uic_mqtt_dotdot_window_covering_down_or_close_callback_clear(); @@ -3605,7 +3605,7 @@ static void reset_callback_counters() uic_mqtt_dotdot_door_lock_clear_allrfid_codes_response_callback_count = 0; uic_mqtt_dotdot_door_lock_operating_event_notification_callback_count = 0; uic_mqtt_dotdot_door_lock_programming_event_notification_callback_count = 0; - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_count = 0; + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_count = 0; uic_mqtt_dotdot_window_covering_up_or_open_callback_count = 0; uic_mqtt_dotdot_window_covering_down_or_close_callback_count = 0; uic_mqtt_dotdot_window_covering_stop_callback_count = 0; diff --git a/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.c b/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.c index 3d56abf47f..be5636f5f5 100644 --- a/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.c +++ b/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.c @@ -622,9 +622,9 @@ static uic_mqtt_dotdot_door_lock_programming_event_notification_callback_t test_ uic_mqtt_dotdot_door_lock_programming_event_notification_callback_t get_uic_mqtt_dotdot_door_lock_programming_event_notification_callback(){ return test_uic_mqtt_dotdot_door_lock_programming_event_notification_callback; } -static uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback = NULL; -uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback(){ - return test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback; +static uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback = NULL; +uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t get_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback(){ + return test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback; } static uic_mqtt_dotdot_window_covering_force_read_attributes_callback_t test_uic_mqtt_dotdot_window_covering_force_read_attributes_callback = NULL; static uic_mqtt_dotdot_window_covering_write_attributes_callback_t test_uic_mqtt_dotdot_window_covering_write_attributes_callback = NULL; @@ -2067,10 +2067,10 @@ void uic_mqtt_dotdot_door_lock_programming_event_notification_callback_set_stub( { test_uic_mqtt_dotdot_door_lock_programming_event_notification_callback = callback; } -void uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set_stub( - const uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t callback, int cmock_num_calls) +void uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set_stub( + const uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t callback, int cmock_num_calls) { - test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback = callback; + test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback = callback; } void set_uic_mqtt_dotdot_window_covering_force_read_attributes_callback_stub( const uic_mqtt_dotdot_window_covering_force_read_attributes_callback_t callback, int cmock_num_calls) @@ -3238,9 +3238,9 @@ void setUp() test_uic_mqtt_dotdot_door_lock_programming_event_notification_callback = NULL; uic_mqtt_dotdot_door_lock_programming_event_notification_callback_set_Stub( &uic_mqtt_dotdot_door_lock_programming_event_notification_callback_set_stub); - test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback = NULL; - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set_Stub( - &uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_set_stub); + test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback = NULL; + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set_Stub( + &uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_set_stub); test_uic_mqtt_dotdot_window_covering_force_read_attributes_callback = NULL; uic_mqtt_dotdot_set_window_covering_force_read_attributes_callback_Stub( &set_uic_mqtt_dotdot_window_covering_force_read_attributes_callback_stub); @@ -6208,10 +6208,10 @@ void test_automatic_deduction_of_supported_commands() )); } - if (NULL != test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback) { + if (NULL != test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback) { // Dummy command parameters // Invoke with support check - TEST_ASSERT_EQUAL(SL_STATUS_FAIL, test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback(expected_unid,expected_endpoint_id,UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK + TEST_ASSERT_EQUAL(SL_STATUS_FAIL, test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback(expected_unid,expected_endpoint_id,UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK )); } @@ -9200,10 +9200,10 @@ void test_automatic_deduction_of_supported_commands() )); } - if (NULL != test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback) { + if (NULL != test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback) { // Dummy command parameters // Invoke with support check - TEST_ASSERT_EQUAL(SL_STATUS_OK, test_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback(expected_unid,expected_endpoint_id,UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK + TEST_ASSERT_EQUAL(SL_STATUS_OK, test_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback(expected_unid,expected_endpoint_id,UIC_MQTT_DOTDOT_CALLBACK_TYPE_SUPPORT_CHECK )); } diff --git a/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.h b/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.h index 5f9d4771c4..09e6896326 100644 --- a/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.h +++ b/components/unify_dotdot_attribute_store/zap-generated/test/unify_dotdot_attribute_store_test.h @@ -413,7 +413,7 @@ uic_mqtt_dotdot_door_lock_programming_event_notification_callback_t get_uic_mqtt_dotdot_door_lock_programming_event_notification_callback(); - uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback(); + uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t get_uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback(); uic_mqtt_dotdot_window_covering_force_read_attributes_callback_t get_uic_mqtt_dotdot_window_covering_force_read_attributes_callback();