I am adding 'com.github.gurux:gurux.dlms.android:-SNAPSHOT'
plugins {
alias(libs.plugins.androidApplication)
}
android {
namespace 'com.example.meterconnect'
compileSdk 34
defaultConfig {
applicationId "com.example.meterconnect"
minSdk 24
targetSdk 34
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.appcompat
implementation libs.material
implementation 'com.github.gurux:gurux.dlms.android:-SNAPSHOT'
testImplementation libs.junit
androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core
}
to my build.gradle file but it shows an error
Failed to resolve: com.github.gurux:gurux.dlms.android:-SNAPSHOT
i want to use the gurux dlms library to make an application to connect to my smart meter
Hi, Use this: implementation…
Hi,
Use this:
implementation 'org.gurux:gurux.dlms.android:2.0.4'
BR,
Mikko
Hi Miko thanks it works but…
Hi Miko thanks it works but now I am not finding any method which will help me to connect to my smart meter in the documentation can you help me with the issue
Thanks
Hi, There is a lot that you…
Hi,
There is a lot that you need to do before you can establish the connection for DLMS meter. Check the Java example. It will do what you want to do.
https://github.com/Gurux/Gurux.DLMS.Android
BR,
Mikko