gateway.lwm2m { ## How long time the connection will be disconnected if the ## connection is established but no bytes received idle_timeout = 30s ## To control whether write statistics data into ETS table ## for dashboard to read. enable_stats = true ## When publishing or subscribing, prefix all topics with a mountpoint string. mountpoint = "lwm2m/${username}" xml_dir = "etc/lwm2m_xml" ## ## lifetime_min = 1s lifetime_max = 86400s qmode_time_window = 22s auto_observe = false ## always | contains_object_list update_msg_publish_condition = contains_object_list translators { command { topic = "/dn/#" qos = 0 } response { topic = "/up/resp" qos = 0 } notify { topic = "/up/notify" qos = 0 } register { topic = "/up/resp" qos = 0 } update { topic = "/up/resp" qos = 0 } } listeners.udp.default { bind = 5783 authentication: { mechanism: password_based, backend: built_in_database } } authentication { mechanism: password_based, backend: redis, redis_type: single, server: "localhost:6379", cmd: "HMGET mqtt_user:${username} password_hash salt is_superuser", password_hash_algorithm: { name: plain, salt_position: suffix } } }