mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-27 12:50:39 +03:00
test4
This commit is contained in:
@@ -31,6 +31,7 @@ int MQTTReconnectCnt = 0;
|
||||
|
||||
void (*callbackOnConnected)(std::string, bool) = NULL;
|
||||
|
||||
// e.g. _key = watermeter/main/rate_per_digitization_round, _content = change_absolute_temp, _qos = 1, retained_flag = mqtt_controll_config.retainFlag
|
||||
bool MQTTPublish(std::string _key, std::string _content, int qos, bool retained_flag)
|
||||
{
|
||||
if (!mqtt_controll_config.mqtt_enabled)
|
||||
|
||||
Reference in New Issue
Block a user