comment here
This commit is contained in:
@@ -280,7 +280,6 @@ function mqttOnmessage!(client::mqttClient, userMsgHandler::Function)
|
|||||||
payload = vecToDict(pkg.payload) # payload in Dict format
|
payload = vecToDict(pkg.payload) # payload in Dict format
|
||||||
|
|
||||||
# Do something with the message
|
# Do something with the message
|
||||||
println("call userMsgHandler")
|
|
||||||
userMsgHandler(topic, payload) # user defined function in user space. How to handle msg
|
userMsgHandler(topic, payload) # user defined function in user space. How to handle msg
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user