You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/DefaultLwM2MTransportMsgHandler.java
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/LwM2mNetworkConfig.java
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/LwM2mTransportUtil.java
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/client/LwM2mClientContextImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ public LwM2mClient fetchClientByEndpoint(String endpoint) {
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/client/LwM2mFwSwUpdate.java
+11-12Lines changed: 11 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -188,14 +188,13 @@ public void executeFwSwWare(DefaultLwM2MTransportMsgHandler handler, LwM2mTransp
188
188
null, 0, null);
189
189
}
190
190
191
-
192
191
/**
193
192
* Firmware start:
194
-
* -- Если Update Result -errors (более 1) - Это означает что пред. апдейт не прошел.
195
-
* - Запускаем апдейт в независимости от состяния прошивки и ее версии.
196
-
* -- Если Update Result - не errors (менее или равно 1) и ver не пустой - Это означает что пред. апдейт прошел.
197
-
* -- Если Update Result - не errors и ver пустой - Это означает что апдейта еще не было.
198
-
* - Проверяем поменялась ли версия и запускаем новый апдейт.
193
+
* -- If the result of the update - errors (more than 1) - This means that the previous. the update failed.
194
+
* - We launch the update regardless of the state of the firmware and its version.
195
+
* -- If the result of the update is not errors (equal to 1 or 0) and ver is not empty - This means that before the update has passed.
196
+
* -- If the result of the update is not errors and is empty - This means that there has not been an update yet.
197
+
* - Check if the version has changed and launch a new update.
Copy file name to clipboardExpand all lines: common/transport/lwm2m/src/main/java/org/thingsboard/server/transport/lwm2m/server/store/TbLwM2mRedisRegistrationStore.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -214,9 +214,9 @@ public UpdatedRegistration updateRegistration(RegistrationUpdate update) {
0 commit comments