|
|
@@ -110,7 +110,7 @@ bool ClassFlowMQTT::ReadParameter(FILE* pfile, string& aktparamgraph)
|
|
|
std::string _param = GetParameterName(splitted[0]);
|
|
|
if ((toUpper(_param) == "CACERT") && (splitted.size() > 1))
|
|
|
{
|
|
|
- this->caCertFilename = splitted[1];
|
|
|
+ this->caCertFilename = "/sdcard" + splitted[1];
|
|
|
}
|
|
|
if ((toUpper(_param) == "VALIDATESERVERCERT") && (splitted.size() > 1))
|
|
|
{
|
|
|
@@ -118,11 +118,11 @@ bool ClassFlowMQTT::ReadParameter(FILE* pfile, string& aktparamgraph)
|
|
|
}
|
|
|
if ((toUpper(_param) == "CLIENTCERT") && (splitted.size() > 1))
|
|
|
{
|
|
|
- this->clientCertFilename = splitted[1];
|
|
|
+ this->clientCertFilename = "/sdcard" + splitted[1];
|
|
|
}
|
|
|
if ((toUpper(_param) == "CLIENTKEY") && (splitted.size() > 1))
|
|
|
{
|
|
|
- this->clientKeyFilename = splitted[1];
|
|
|
+ this->clientKeyFilename = "/sdcard" + splitted[1];
|
|
|
}
|
|
|
if ((toUpper(_param) == "USER") && (splitted.size() > 1))
|
|
|
{
|
|
|
@@ -370,4 +370,4 @@ void ClassFlowMQTT::handleIdx(string _decsep, string _value)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#endif //ENABLE_MQTT
|
|
|
+#endif //ENABLE_MQTT
|