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. Image Transfer

Image transfer

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 atulsawant , 10 March, 2017
Forums
General discussion

Dear sir,

I want to transfer total firmware file using Image transfer class using tool..

how to do that ?

Thanks and regards,

Profile picture for user Kurumi

Kurumi

9 years 3 months ago

Image transfer

Dear Sir,
You can find instructions from here:
http://www.gurux.fi/Gurux.DLMS.Client

Topic is: Image updating. GXDLMSDirector is not support image updating at the moment, but that is on work list.

BR,

Mikko

ziml

5 years 9 months ago

Hi,

Hi,

I would like to update the simulated smart meter over serial port.
Has this feature been implemented by now?
If not, which example is the best to get started with for image update from the client side?

For the server side I saw that the Nordic example also uses mcuboot.
Is the update process from mcuboot fully implemented?
Meaning, if I upload that it will automatically swap the images?
(or swap according to the setting I put in the image header)

Cheers,
ziml

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

From client-side Use GXDLMSDirector. There is UI and it's easy to use.

What example you are using on the server-side?

BR,

Mikko

ziml

5 years 9 months ago

Hi,

Hi,

I have set up the GXDLMSDirector and successfully connected my device to it and read the values.

Is it possible to upload a new image through the GXDLMSDirector?
How would I do that, just like updating any other value by writing the binary to the value field?

On the server side I am using the nordic example for nrf9160.
According to that I assume that the uploaded image must be an mcuboot bootable image, right?

Cheers,
ziml

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

There is an Image transfer object that you can use to update the image bit current example for Nordic Semiconductor doesn't support Image transfer.

BR,
Mikko

ziml

5 years 9 months ago

Hi,

Hi,

Ok, so which is the best example to get started for image update on the nrf9160 over serial port (server side)?
Is it best to implement it for the nordic example or start with another example?

ziml

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

You need to add image transfer object. Then you need to save received data blocks to the flash.
You can check this from the server example.

https://github.com/Gurux/GuruxDLMS.c/blob/e166957e2adabc61c0a8b263ef01c…

BR,

Mikko

ziml

5 years 9 months ago

Ok, thanks for the answer. I

Ok, thanks for the answer. I'll give it a go.
I have never worked with DLMS before and I am trying to figure out how big of a task this is.
Can you give me an estimation?

Profile picture for user Kurumi

Kurumi

5 years 9 months ago

Hi,

Hi,

Adding the image transfer object and sending the new firmware is not a big task. Saving it to the flash and verifying it before booting is taking a longer time. I can't give any estimation because I don't know your experience.

BR,
Mikko

ziml

5 years 9 months ago

Hi,

Hi,

That already helped, thank you.

ziml

ziml

5 years 8 months ago

Hey Mikko,

Hey Mikko,

I am able to generate the imageTransfer object and I can read it in the DLMS director. but I am not able to send/update the firmware. The director does not allow me to do that. It says the Image transfer has not been initiated. (cannot choose the update button and select an image). Is this something I have to change on the server side (access rights etc.) or on the client side?
I did not yet implement the part where it saves the image to the flash, but I think this should be independent of being able to send the image, right?

Cheers,
ziml

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

You need to allow methods (actions) If you read association view and select current association (0.0.40.0.0.255), you can see are Method Access allowed for Image Transfer. See pic below.

BR,
Mikko

Image

ziml

5 years 8 months ago

Ok. Can I change method

Oh ok, and the method access for image transfer is not allowed if authentication is none or low.

Profile picture for user Kurumi

Kurumi

5 years 8 months ago

Hi,

Hi,

Yes, that is correct.

BR,
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