gateway.coap.conf.example 906 B

123456789101112131415161718192021222324
  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. ## When publishing or subscribing, prefix all topics with a mountpoint string.
  10. ## It's a way that you can use to implement isolation of message routing between different
  11. ## gateway protocols
  12. mountpoint = "coap/"
  13. ## Enable or disable connection mode.
  14. ## Connection mode is a feature of non-standard protocols. When connection mode is enabled,
  15. ## it is necessary to maintain the creation, authentication and alive of connection resources
  16. connection_required = false
  17. listeners.udp.default {
  18. bind = "0.0.0.0:5683"
  19. }
  20. }