chore(gw): uncomment mqttsn confs
This commit is contained in:
parent
9355adae4b
commit
623fc67fc9
|
@ -29,46 +29,46 @@ emqx_gateway: {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# mqttsn.1: {
|
mqttsn.1: {
|
||||||
# ## The MQTT-SN Gateway ID in ADVERTISE message.
|
## The MQTT-SN Gateway ID in ADVERTISE message.
|
||||||
# gateway_id: 1
|
gateway_id: 1
|
||||||
|
|
||||||
# ## Enable broadcast this gateway to WLAN
|
## Enable broadcast this gateway to WLAN
|
||||||
# broadcast: true
|
broadcast: true
|
||||||
|
|
||||||
# ## To control whether write statistics data into ETS table
|
## To control whether write statistics data into ETS table
|
||||||
# ## for dashbord to read.
|
## for dashbord to read.
|
||||||
# enable_stats: true
|
enable_stats: true
|
||||||
|
|
||||||
# ## To control whether accept and process the received
|
## To control whether accept and process the received
|
||||||
# ## publish message with qos=-1.
|
## publish message with qos=-1.
|
||||||
# enable_qos3: true
|
enable_qos3: true
|
||||||
|
|
||||||
# ## Idle timeout for a MQTT-SN channel
|
## Idle timeout for a MQTT-SN channel
|
||||||
# idle_timeout: 30s
|
idle_timeout: 30s
|
||||||
|
|
||||||
# ## The pre-defined topic name corresponding to the pre-defined topic
|
## The pre-defined topic name corresponding to the pre-defined topic
|
||||||
# ## id of N.
|
## id of N.
|
||||||
# ## Note that the pre-defined topic id of 0 is reserved.
|
## Note that the pre-defined topic id of 0 is reserved.
|
||||||
# predefined: [
|
predefined: [
|
||||||
# { id: 1
|
{ id: 1
|
||||||
# topic: "/predefined/topic/name/hello"
|
topic: "/predefined/topic/name/hello"
|
||||||
# },
|
},
|
||||||
# { id: 2
|
{ id: 2
|
||||||
# topic: "/predefined/topic/name/nice"
|
topic: "/predefined/topic/name/nice"
|
||||||
# }
|
}
|
||||||
# ]
|
]
|
||||||
|
|
||||||
# ### ClientInfo override
|
### ClientInfo override
|
||||||
# clientinfo_override: {
|
clientinfo_override: {
|
||||||
# username: "mqtt_sn_user"
|
username: "mqtt_sn_user"
|
||||||
# password: "abc"
|
password: "abc"
|
||||||
# }
|
}
|
||||||
|
|
||||||
# listener.udp.1: {
|
listener.udp.1: {
|
||||||
# bind: 1884
|
bind: 1884
|
||||||
# max_connections: 10240000
|
max_connections: 10240000
|
||||||
# max_conn_rate: 1000
|
max_conn_rate: 1000
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue