From 32b46c332c3464a209da96e28156fb006def52ee Mon Sep 17 00:00:00 2001 From: Michael Ammann Date: Wed, 9 Mar 2022 10:26:40 +0100 Subject: [PATCH] Update Example18_PointPerfectClient.ino --- .../Example18_PointPerfectClient.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ZED-F9P/Example18_PointPerfectClient/Example18_PointPerfectClient.ino b/examples/ZED-F9P/Example18_PointPerfectClient/Example18_PointPerfectClient.ino index b31cfa5..6359db5 100644 --- a/examples/ZED-F9P/Example18_PointPerfectClient/Example18_PointPerfectClient.ino +++ b/examples/ZED-F9P/Example18_PointPerfectClient/Example18_PointPerfectClient.ino @@ -138,6 +138,7 @@ void beginClient() wifiClient.setCACert(AWS_CERT_CA); wifiClient.setCertificate(AWS_CERT_CRT); wifiClient.setPrivateKey(AWS_CERT_PRIVATE); + mqttClient.setId(MQTT_CLIENT_ID); if (!mqttClient.connect(AWS_IOT_ENDPOINT, AWS_IOT_PORT)) { Serial.print(F("MQTT connection failed! Error code = ")); Serial.println(mqttClient.connectError());