File tree 3 files changed +3
-3
lines changed
examples/Google Cloud Platform IoT Core
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ void connectMQTT() {
112
112
Serial.println (" " );
113
113
114
114
while (!mqttClient.connected ()) {
115
- // Calculate the JWT and assign it as the username
115
+ // Calculate the JWT and assign it as the password
116
116
String jwt = calculateJWT ();
117
117
118
118
mqttClient.setUsernamePassword (" " , jwt);
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ void connectMQTT() {
109
109
Serial.println (" " );
110
110
111
111
while (!mqttClient.connected ()) {
112
- // Calculate the JWT and assign it as the username
112
+ // Calculate the JWT and assign it as the password
113
113
String jwt = calculateJWT ();
114
114
115
115
mqttClient.setUsernamePassword (" " , jwt);
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ void connectMQTT() {
106
106
Serial.println (" " );
107
107
108
108
while (!mqttClient.connected ()) {
109
- // Calculate the JWT and assign it as the username
109
+ // Calculate the JWT and assign it as the password
110
110
String jwt = calculateJWT ();
111
111
112
112
mqttClient.setUsernamePassword (" " , jwt);
You can’t perform that action at this time.
0 commit comments