Skip to content

Commit bf63af6

Browse files
committed
Update README.md
1 parent 8228d67 commit bf63af6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ microgear may be interested in some topic. The developer can use the function su
195195

196196
---
197197

198-
**void MicroGear::unsubscribe(char* topic) *
198+
**void MicroGear::unsubscribe(char* topic)**
199199

200200
cancel subscription
201201

@@ -207,3 +207,9 @@ cancel subscription
207207
**void MicroGear::resetToken()**
208208

209209
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

Comments
 (0)