update runtest
This commit is contained in:
@@ -147,7 +147,7 @@ function mqttClientInstance_v2(
|
||||
mqttBrokerAddress::String,
|
||||
subtopic::Vector{String},
|
||||
msgReceiveChannel, # NamedTuple of channels i.e. msgReceiveChannel = (ch1=Channel(8), ch2=Channel(8))
|
||||
keepaliveChannel::Channel, # user needs to specify because it has to be accessible by user-defined onMsgCallback()
|
||||
keepaliveChannel::Channel, # used for checkMqttConnection(). user needs to specify because it has to be accessible by user-defined onMsgCallback()
|
||||
onMsgCallback::Function
|
||||
;
|
||||
mqttBrokerPort::Integer=1883,
|
||||
@@ -426,7 +426,7 @@ end
|
||||
-----
|
||||
```jldoctest
|
||||
julia> using Revise
|
||||
julia> using GeneralUtils, Dates, JSON3, MQTTClient
|
||||
julia> using GeneralUtils, Dates, JSON3
|
||||
julia> GeneralUtils.checkMqttConnection!(mqttInstance, 5)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user