Commit 8b23bd999f450aa8ace9ea90aae12c9f1981cb33

Authored by nickAS21
1 parent 054824a0

lwm2m: front fix bug create profile lwm2mConfig default

@@ -98,7 +98,7 @@ export interface ProfileConfigModels { @@ -98,7 +98,7 @@ export interface ProfileConfigModels {
98 } 98 }
99 99
100 export interface ClientLwM2mSettings { 100 export interface ClientLwM2mSettings {
101 - clientOnlyObserveAfterConnect: boolean; 101 + clientOnlyObserveAfterConnect: number;
102 } 102 }
103 export interface ObservableAttributes { 103 export interface ObservableAttributes {
104 observe: string[]; 104 observe: string[];
@@ -157,7 +157,7 @@ function getDefaultProfileObserveAttrConfig(): ObservableAttributes { @@ -157,7 +157,7 @@ function getDefaultProfileObserveAttrConfig(): ObservableAttributes {
157 157
158 function getDefaultProfileClientLwM2mSettingsConfig(): ClientLwM2mSettings { 158 function getDefaultProfileClientLwM2mSettingsConfig(): ClientLwM2mSettings {
159 return { 159 return {
160 - clientOnlyObserveAfterConnect: true 160 + clientOnlyObserveAfterConnect: 1
161 }; 161 };
162 } 162 }
163 163