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 ;