File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,21 @@ void AdafruitIO::connect()
160
160
161
161
}
162
162
163
+ /* *************************************************************************/
164
+ /* !
165
+ @brief Disconnects from AIO.
166
+ @return none
167
+ */
168
+ /* *************************************************************************/
169
+ void AdafruitIO::disconnect ()
170
+ {
171
+
172
+ AIO_DEBUG_PRINTLN (" AdafruitIO::disconnect()" );
173
+
174
+ _disconnect ();
175
+
176
+ }
177
+
163
178
164
179
/* *************************************************************************/
165
180
/* !
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class AdafruitIO {
53
53
virtual ~AdafruitIO ();
54
54
55
55
void connect ();
56
+ void disconnect ();
56
57
aio_status_t run (uint16_t busywait_ms = 0 , bool fail_fast = false );
57
58
58
59
AdafruitIO_Feed* feed (const char *name);
You can’t perform that action at this time.
0 commit comments