We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a7b431 commit 4062895Copy full SHA for 4062895
1 file changed
src/AdafruitIO_Ethernet.h
@@ -99,6 +99,16 @@ class AdafruitIO_Ethernet : public AdafruitIO {
99
_status = AIO_NET_CONNECTED;
100
}
101
102
+
103
+ /**************************************************************************/
104
+ /*!
105
+ @brief Disconnect the ethernet connection.
106
+ */
107
108
+ void _disconnect() {
109
+ _client->stop();
110
+ delay(AIO_NET_DISCONNECT_WAIT);
111
+ }
112
};
113
114
#endif // ADAFRUITIO_ETHERNET_H
0 commit comments