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. Can I Get Java Code For Image Tranfer

Can i get java code for image tranfer

By midhun1212 , 1 February, 2024
Forums
Gurux DLMS for Java

Hii..Can i get java code for image tranfer which can resume if connection get lost.

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, You can find a basic…

Hi,

You can find a basic example from the image update here:
https://www.gurux.fi/Gurux.DLMS.Client

If you lose your connection, you need to check what blocks are missing and update the missing image blocks.

BR,
Mikko

midhun1212

2 years 4 months ago

Thank you for your support…

Thank you for your support Sir...I understand that the image is transferred in blocks, and we refer to the size of the block to determine the completeness of the process. In java While transferring an image, the connection was lost at block 45. Now, if I upload the same image, how can I resume the process from the 45th block to complete the transfer in Java? Is there any reference or method to resume the image transfer from the block where it stopped in Java?

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, That depends on the…

Hi,

That depends on the meter. Some meters expect that the image updating is started from the beginning. You can try to generate image blocks and then read first not transferred block number. Then skip already written blocks and send only the missing ones.

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

Updating the image to the meters varies between meters a lot.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin