Commit 24aa6f30ab738bd95511e85b47e153cb0bab8f2c
1 parent
183f3547
fixed updating firstEdrxDownlink after error
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -369,6 +369,7 @@ public class DefaultLwM2mDownlinkMsgHandler extends LwM2MExecutorAwareService im | @@ -369,6 +369,7 @@ public class DefaultLwM2mDownlinkMsgHandler extends LwM2MExecutorAwareService im | ||
369 | 369 | ||
370 | private <R extends DownlinkRequest<T>, T extends LwM2mResponse> void handleDownlinkError(LwM2mClient client, R request, DownlinkRequestCallback<R, T> callback, Exception e) { | 370 | private <R extends DownlinkRequest<T>, T extends LwM2mResponse> void handleDownlinkError(LwM2mClient client, R request, DownlinkRequestCallback<R, T> callback, Exception e) { |
371 | log.trace("[{}] Received downlink error: {}.", client.getEndpoint(), e); | 371 | log.trace("[{}] Received downlink error: {}.", client.getEndpoint(), e); |
372 | + client.updateLastUplinkTime(); | ||
372 | executor.submit(() -> { | 373 | executor.submit(() -> { |
373 | if (e instanceof TimeoutException || e instanceof ClientSleepingException) { | 374 | if (e instanceof TimeoutException || e instanceof ClientSleepingException) { |
374 | log.trace("[{}] Received {}, client is probably sleeping", client.getEndpoint(), e.getClass().getSimpleName()); | 375 | log.trace("[{}] Received {}, client is probably sleeping", client.getEndpoint(), e.getClass().getSimpleName()); |