Skip to content

Commit f95facc

Browse files
docs: remove workaround to #9 from examples
1 parent d5e9c6d commit f95facc

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

examples/EthernetAWSIoT/EthernetAWSIoT.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ void reconnect()
9393
{
9494
// Serial.println(subscribeTopic[i]);
9595
mqtt.subscribe(subscribeTopic[i]);
96-
ethClientSSL.flush();
9796
}
9897
Serial.println("Started updateThing ");
9998
updateThing();
@@ -161,7 +160,6 @@ void updateThing()
161160
void MQTTPublish(const char *topic, char *payload)
162161
{
163162
mqtt.publish(topic, payload);
164-
ethClientSSL.flush();
165163
Serial.print("Published [");
166164
Serial.print(topic);
167165
Serial.print("] ");

examples/EthernetMQTT/EthernetMQTT.ino

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,8 @@ void reconnect() {
5151
Serial.println("connected");
5252
// Once connected, publish an announcement...
5353
client.publish("outTopic","hello world");
54-
// This is a workaround to address https://github.com/OPEnSLab-OSU/SSLClient/issues/9
55-
ethClientSSL.flush();
5654
// ... and resubscribe
5755
client.subscribe("inTopic");
58-
// This is a workaround to address https://github.com/OPEnSLab-OSU/SSLClient/issues/9
59-
ethClientSSL.flush();
6056
} else {
6157
Serial.print("failed, rc=");
6258
Serial.print(client.state());

0 commit comments

Comments
 (0)