I am trying to update the meter firmware using GuruxDLMS.c library. I am able to establish connection with the meter in Firmware Upgrade mode. Post this, while i am trying to read Image transfer enable status, block size and image transferred block status, meter isn't responding for the one of the TX sent by stack and stack is hanging in com_read function while returning with DLMS_ERROR_CODE_RECEIVE_FAILED error.
Hi Mikko, i am back working on the itron meter data reading. I created new forum post because i can't reply on the old one. After trying out the update, the issue on reading Itron SL7000's load profile (0.0.99.1.0.255) still persists - if i read capture objects first (index 3), it returns error 13 : DLMS_ERROR_CODE_ACCESS_VIOLATED - if i read without it, it returns error 258 : DLMS_ERROR_CODE_INVALID_PARAMETER, but i can see some data in the traces, and i can use GXDLMSTranslator to translate and get the data
What should I do to get method call result?
For example, object target is of GXDLMSImageTransfer type.
Let's use method 3 "image verify".
As written in BlueBook "The result of the invocation of this method may be success, temporary_failure or other_reason."
Following code works ok:
reader.readDataBlock( target.imageVerify(reader.client), reply)
How should I check that result is success, temporay failure or something else?
Is it reply.error values according to green book or something else?
Hello Sir,
I am using below dependency in my Android project. But when I ran my project with minSDK version 29 its gives error so, to using those I need to maintain my minSDK version 31. Is it possible to run in 29?
implementation(libs.gurux.dlms)
releaseImplementation(libs.guruxDlmsAndroid)
implementation(libs.gurux.serial.android)
implementation "org.gurux:gurux.common.android:3.0.4"
implementation "com.github.mik3y:usb-serial-for-android:3.9.0"