This commit is contained in:
leo 2023-07-09 22:32:14 +02:00
parent 63272219e6
commit 3cd1a4ea93
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -100,6 +100,8 @@ int main(int argc, char *argv[])
mosquitto_lib_cleanup();
return 1;
}
printf("Creating mqtt client %s %i %s", MQTT_HOST, MQTT_PORT, MQTT_USER);
//Set callback functions
mosquitto_log_callback_set(mosq, my_log_callback);