gateway.mqttsn.conf.example 595 B

1234567891011121314151617181920212223
  1. ##--------------------------------------------------------------------
  2. ## Gateway MQTT-SN
  3. ##
  4. ## Add a MQTT-SN gateway
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. gateway.mqttsn {
  9. broadcast = true
  10. enable = true
  11. enable_qos3 = false
  12. enable_stats = true
  13. gateway_id = 1
  14. idle_timeout = 30s
  15. mountpoint = "mqttsn2/"
  16. predefined = [
  17. {
  18. id = 1003
  19. topic = "pred/1003"
  20. }
  21. ]
  22. }