|
@@ -101,10 +101,12 @@ get_lwm2m_opts(Envs) ->
|
|
|
AutoObserve = proplists:get_value(auto_observe, Envs, []),
|
|
AutoObserve = proplists:get_value(auto_observe, Envs, []),
|
|
|
QmodeTimeWindow = proplists:get_value(qmode_time_window, Envs, []),
|
|
QmodeTimeWindow = proplists:get_value(qmode_time_window, Envs, []),
|
|
|
Topics = proplists:get_value(topics, Envs, []),
|
|
Topics = proplists:get_value(topics, Envs, []),
|
|
|
|
|
+ PublishUpdateWhen = proplists:get_value(publish_update_when, Envs, object_list_changed),
|
|
|
[{lifetime_max, LifetimeMax},
|
|
[{lifetime_max, LifetimeMax},
|
|
|
{lifetime_min, LifetimeMin},
|
|
{lifetime_min, LifetimeMin},
|
|
|
{mountpoint, list_to_binary(Mountpoint)},
|
|
{mountpoint, list_to_binary(Mountpoint)},
|
|
|
{port, Sockport},
|
|
{port, Sockport},
|
|
|
{auto_observe, AutoObserve},
|
|
{auto_observe, AutoObserve},
|
|
|
{qmode_time_window, QmodeTimeWindow},
|
|
{qmode_time_window, QmodeTimeWindow},
|
|
|
|
|
+ {publish_update_when, PublishUpdateWhen},
|
|
|
{topics, Topics}].
|
|
{topics, Topics}].
|