From b2b51c33e4a34f7ba3c9c301091b764ba55218b2 Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Mon, 28 Oct 2024 10:22:00 +0800 Subject: [PATCH] Correction parameters https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/issues/167 --- examples/MqttsBuiltlnWill/MqttsBuiltlnWill.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/MqttsBuiltlnWill/MqttsBuiltlnWill.ino b/examples/MqttsBuiltlnWill/MqttsBuiltlnWill.ino index 1b24887..d534b9a 100644 --- a/examples/MqttsBuiltlnWill/MqttsBuiltlnWill.ino +++ b/examples/MqttsBuiltlnWill/MqttsBuiltlnWill.ino @@ -220,7 +220,7 @@ void setup() Serial.print("Network IP:"); Serial.println(ipAddress); // Initialize MQTT, use SSL, skip authentication server - modem.mqtt_begin(false); + modem.mqtt_begin(true); if (!mqtt_connect()) { return ;