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. How To Check Meter Firmware Version?

How to check meter firmware version?

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 imand , 15 January, 2021
Forums
Gurux DLMS for Java

Dear Team,

Our meters support automated firmware update from FTP server. We need to keep track of which meter has the old firmware version and which has the new one. For this, we want to read the meter firmware info and determine the version.

We tried to follow steps similar to the firmware transfer. But doesn't seem to be working. The GXDLMSImageActivateInfo seems to be empty.

Here is the code. We're trying to match imageIdentifier with getIdentification() value.

GXReplyData reply = new GXReplyData();
GXDLMSImageTransfer target = new GXDLMSImageTransfer("0.0.44.0.1.255");

log.info("Check that image transfer is enabled ");
//Check that image transfer is enabled.
checkImageTransferEnable(target, reply);

log.info("Step 1: Read image block size");
//Step 1: Read image block size.
Object imgBlock = readObject(target, 2);
target.setImageBlockSize((Long) imgBlock);
log.info("setImageBlockSize " + target.getImageBlockSize());

log.info("Step 6: Before activation, the Image is checked");
// Step 6: Before activation, the Image is checked;
//Get list to images to activate.
Object imageActivateInfo = readObject(target, 7);
target.setImageActivateInfo((GXDLMSImageActivateInfo[]) imageActivateInfo);
log.info("imageActivateInfo: " + Arrays.toString(target.getImageActivateInfo()));

for (GXDLMSImageActivateInfo it : target.getImageActivateInfo()) {
log.info("is " + imageIdentifier + " == " + it.getIdentification().toString());
if (it.getIdentification().toString().equals(imageIdentifier)) {
return true;
}
}

return false;

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

Check if there is "Active firmware version" or "Firmware version" data object. You can read firmware information from there if it exists. It depends on the meter how this is implemented.

BR,
Mikko

imand

5 years 4 months ago

In reply to Hi, by Kurumi

Hi Mikko,

Hi Mikko,

I checked the version value on the target object. Like so.

int version = target.getVersion();

But this is always 0. So meter doesn't support reading version number ?

Dayah

Profile picture for user Kurumi

Kurumi

5 years 4 months ago

Hi,

Hi,

That is the interface version number. You can see the value using getValue-method.
Try to read the meter with GXDLMSDirector. It will visualize the meter and you have a better idea of what the meter can offer.

BR,

Mikko

imand

5 years 4 months ago

In reply to Hi, by Kurumi

I found a way to read the

I found a way to read the versions.

Thanks for looking into this.

Dayah

  • 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