iopsys-feed/obuspa/patches/2005-revert-mqtt-sub-error.patch
2025-07-25 09:09:29 +05:30

15 lines
750 B
Diff

Index: obuspa-10.0.5.0/src/core/mqtt.c
===================================================================
--- obuspa-10.0.5.0.orig/src/core/mqtt.c
+++ obuspa-10.0.5.0/src/core/mqtt.c
@@ -3417,8 +3417,8 @@ void SubscribeToAll(mqtt_client_t *clien
// Exit if no agent response topic configured (or set by the CONNACK)
USP_SNPRINTF(buf, sizeof(buf), "%s: No response topic configured (or set by the CONNACK)", __FUNCTION__);
USP_LOG_Error("%s", buf);
- HandleMqttError(client, kMqttFailure_Misconfigured, buf);
- return;
+ //HandleMqttError(client, kMqttFailure_Misconfigured, buf);
+ //return;
}
// Subscribe to all subscriptions configured in Device.MQTT.Client.{i}.Subscription.{i}