mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
terminate example
This commit is contained in:
parent
4bf2bf03d7
commit
1697126a15
@ -161,3 +161,4 @@ m:subscribe("/topic",0, function(conn) print("subscribe success") end)
|
||||
|
||||
-- or subscribe multiple topic (topic/0, qos = 0; topic/1, qos = 1; topic2 , qos = 2)
|
||||
m:subscribe({["topic/0"]=0,["topic/1"]=1,topic2=2}, function(conn) print("subscribe success") end)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user