Skip to content

Commit

Permalink
SiliconLabsGH-23: Replace get_allpin with get_all_pin
Browse files Browse the repository at this point in the history
Bug-SiliconLabs: UIC-3201
Signed-off-by: Thomas du Boisrouvray <[email protected]>
Forwarded-SiliconLabs: thdubois/UIC-3072/c4/develop
Last-Update: 2024-01-18
(cherry picked from commit 954cdcf4b91776e21760921e9c4f0f086328cc6c)
  • Loading branch information
Thomasdjb committed Jan 18, 2024
1 parent 1aa96a6 commit 8e32293
Show file tree
Hide file tree
Showing 21 changed files with 104 additions and 105 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {

Expand All @@ -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
);
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
);
Expand Down Expand Up @@ -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
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*****************************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16706,7 +16706,7 @@ mosquitto_sub -t 'ucl/by-unid/<UNID>/<EP>/DoorLock/GeneratedCommands/Programming

<br><br>

\subsection door_lock_get_allpin_codes_cmd DoorLock/GetAllPINCodes Command
\subsection door_lock_get_all_pin_codes_cmd DoorLock/GetAllPINCodes Command

**MQTT Topic Pattern:**

Expand Down
26 changes: 13 additions & 13 deletions components/uic_dotdot_mqtt/zap-generated/include/dotdot_mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand All @@ -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
);
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
62 changes: 31 additions & 31 deletions components/uic_dotdot_mqtt/zap-generated/src/dotdot_mqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22681,8 +22681,8 @@ static std::set<uic_mqtt_dotdot_door_lock_operating_event_notification_callback_
static std::set<uic_mqtt_dotdot_door_lock_operating_event_notification_callback_t> uic_mqtt_dotdot_door_lock_generated_operating_event_notification_callback;
static std::set<uic_mqtt_dotdot_door_lock_programming_event_notification_callback_t> uic_mqtt_dotdot_door_lock_programming_event_notification_callback;
static std::set<uic_mqtt_dotdot_door_lock_programming_event_notification_callback_t> uic_mqtt_dotdot_door_lock_generated_programming_event_notification_callback;
static std::set<uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t> uic_mqtt_dotdot_door_lock_get_allpin_codes_callback;
static std::set<uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t> uic_mqtt_dotdot_door_lock_generated_get_allpin_codes_callback;
static std::set<uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t> uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback;
static std::set<uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t> uic_mqtt_dotdot_door_lock_generated_get_all_pin_codes_callback;
static std::set<uic_mqtt_dotdot_door_lock_write_attributes_callback_t> uic_mqtt_dotdot_door_lock_write_attributes_callback;
static std::set<uic_mqtt_dotdot_door_lock_force_read_attributes_callback_t> uic_mqtt_dotdot_door_lock_force_read_attributes_callback;

Expand Down Expand Up @@ -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<uic_mqtt_dotdot_door_lock_get_allpin_codes_callback_t>& get_uic_mqtt_dotdot_door_lock_get_allpin_codes_callback()
std::set<uic_mqtt_dotdot_door_lock_get_all_pin_codes_callback_t>& 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(
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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<dotdot_unid_t>(unid.c_str()),
endpoint,
Expand All @@ -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;
}

Expand Down Expand Up @@ -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<dotdot_unid_t>(unid.c_str()),
endpoint,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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 << ", ";
}
Expand Down Expand Up @@ -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
) {
Expand All @@ -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
Expand Down
Loading

0 comments on commit 8e32293

Please sign in to comment.