I was trying to compile DLMS Android Sample on my Android Studio Dolphin 2021/Win 11 was able to build the apk with as is code, but when I tried to test it on my Google Pixel using Optical Probe on Genus meter [working fine on GxDLMSDirector] it didnt open the settings page for some error.. I realized the error was on Authentication block on GxSettings.Java
When I commented out the following lines and regenerated apk, it actually started opening the meter settings page, but now my Genus meter is not listed in Manufacturers list with this code commented.
I downloaded Gurux.DLMS.Android-master, built it, and try to run with a Kaifa device connected through a USB/Optical cable.
The same cable is used to successfully read this device using GXDLMSDirectot but for Android I added a conversion from USB to Type-C.
The same cable with Type-C conversor works with another reader app.
The app crashes when I try to enter the Meter Settings page.
I couldn't understand from the README file if I was supposed to change something in the code.
Hi,
I have some problems when reading Profile Generic data via Bluetooth Probe with an Android app.
In some point of the trace, the method client.getdata(buffer, reply), where buffer is the byte array received from meter, ignores a package, and keepo asking for next packages and some data is lost. I've checked the packages and I don't see anything wrong, but for no reason this method ignores the package.
I am trying to Integrate BLE with DLMS , I have established a connection through BLE from my device , Now I want to enable DLMS through this BLE connection .Please assist me on the same as I am not able to get any help on this
When trying to use the Gurux App with an ISKRA M19 1376 meter and an ISKRA SONDA-5 optical probe,
the following errors are prompt when trying to read:
"Invalid meter type"
"Failed to receive reply from the device in given time"
It seems like the settings for this meter are wrong. The current settings are:
Manufacturer: Iskraemeco
Start Protocol: IEC
Authentication: None
Wait time: 5
Client Address: 1
Address Type: Default
Physical Address: 0
Logical Address: 0
I follow the readme file but it couldn't run.
my bulid.grade had import these:
implementation 'com.github.gurux:gurux.common.android:-SNAPSHOT'
implementation 'com.github.gurux:gurux.dlms.android:-SNAPSHOT'
but when i follow the readme file to do next step in
public void readDLMSPacket(byte[] data, GXReplyData reply){..}
it warn me that 'GXDevice' isnt exist
and this "IGXMedia" in import gurux.common.IGXMedia is a interface without 'getmedia()'
I'm building an android app with a software that uses JavaScript code (is not a native android app).
With this app we would like to read electricity meters with the help of an optical probe.
We came across your solution for Android but we understand that the code is 100% Java.
Do you have any library that could be used by our JavaScript App?
Or any suggestion that may be helpful to us?
Hello,
I am trying to replicate the simple example in new empty project to understand the working of the GuruX.DMLS.android library.
I have already imported GuruX.DMLS.android-snapshot in the gradle files and included the maven repository and the project synced successfully.
When I copied the example code, I noticed that when sending the SNRM request, the readDLMSPacket method needs implementation, and it needs the IGXMedia library that needs to be imported and mDevice var is not declared and more...
What did I do wrong?