You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ microgear may be interested in some topic. The developer can use the function su
195
195
196
196
---
197
197
198
-
**void MicroGear::unsubscribe(char* topic)*
198
+
**void MicroGear::unsubscribe(char* topic)**
199
199
200
200
cancel subscription
201
201
@@ -207,3 +207,9 @@ cancel subscription
207
207
**void MicroGear::resetToken()**
208
208
209
209
To send a revoke token control message to NETPIE and delete the token from cache. As a result, the microgear will need to request a new token for the next connection.
210
+
211
+
---
212
+
213
+
**void MicroGear::loop()**
214
+
215
+
This method has to be called regularly in the arduino loop() function to keep connection alive and to handle incoming messages.
0 commit comments