gateway.coap.conf.example 556 B

12345678910111213141516171819
  1. ##--------------------------------------------------------------------
  2. ## Gateway CoAP
  3. ##
  4. ## Add a CoAP 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.coap {
  9. enable = true
  10. connection_required = false
  11. enable_stats = true
  12. heartbeat = 30s
  13. idle_timeout = 30s
  14. mountpoint = "coap2/"
  15. notify_type = qos
  16. publish_qos = coap
  17. subscribe_qos = coap
  18. }