Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Firmware Upgrade Resume.

Firmware upgrade resume.

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By GovindSingh , 17 May, 2022
Forums
Gurux DLMS for Java

Hi Mikko,

For firmware upgrade, I had followed the steps under Image Updating section of DLMS client (Thanks for steps) and that is working fine.

Now I want to support resume functionality, if any firmware block fails during the image transfer.
But, I did not see any attribute or method to resume the block transfer.

Please help me with steps for firmware resume.

Thanks in Advance.
Govind Singh Parmar

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

You need to read what blocks are missing (Image transferred blocks status) and then re-send those missing blocks. You can use imageBlockTransfer where you give blocksStatus as the third parameter.
It will automatically remove missing blocks.

Note! don't call ImageTransferInitiate or you need to send all the image blocks again.

I have to say that usually meters expect that you must send all the blocks after the first missing image block.

BR,
Mikkko

GovindSingh

4 years ago

In reply to Hi, by Kurumi

Thanks Mikko for quick

Thanks Mikko for quick Response.
Ok. For 3rd parameter I will use the block status. and I will not use ImageTransferInitiate for resume.
But, How to send missing blocks? Do I need to send partial image Buffer(By removing transfer blocks manually) or full image buffer (as was used first time) and it will calculate index automatically from image buffer.

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

Give the full image and this method will check what objects are missing and the method will send only the missing ones. Then just send returned data using readDataBlock method as you have done before.

You can also give the starting index as a parameter and all the data blocks are sent starting from that index.

BR,
Mikko

GovindSingh

4 years ago

Thanks Mikko for helpful

Thanks Mikko for helpful advice. I will try this.

GovindSingh

4 years ago

Thanks Mikko, it worked.

Thanks Mikko, it worked.

Can we also do image fallback or revert? If yes then How?

Thanks in Advance.
Govind Singh Parmar

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

You can overwrite a new image until you activate the image just sending the Image transfer initiate command again and transferring the image blocks for the meter.

https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSImageTransfer

GovindSingh

4 years ago

Sending Image Transfer

Sending Image Transfer initiate again will restart the image upgrade again.

By seeing attribute 7 it seems meter keeps list of images.(List of images ready for activation).
Does meter keep old image after activate new Image? So Can it be fallback to that old image without transfer again?

Thanks in Advance.
Govind Singh Parmar

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

At the moment there can be only one image in the store waiting for activation at a time.

This depends on the meter, but usually, the old image is lost after the new one is activated. This is a memory depending topic. There is not enough memory to save multiple images.

BR,
Mikko

GovindSingh

4 years ago

Thanks Mikko.

Thanks Mikko.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin