Simple example on GuruX.DLMS.Android github

2 posts / 0 new
Last post
ManuLopez
Simple example on GuruX.DLMS.Android github

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?

Kurumi
Kurumi's picture

Hi,

You can get a working app from here:
https://github.com/Gurux/Gurux.DLMS.Android

You can modify it for your needs.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi