feat: mqtt (#4841)

This commit is contained in:
James Rich 2026-03-18 13:39:20 -05:00 committed by GitHub
parent eae5a6bdac
commit d314ee2d8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 371 additions and 200 deletions

View file

@ -260,7 +260,6 @@ dependencies {
implementation(libs.androidx.core.splashscreen)
implementation(libs.kotlinx.serialization.json)
implementation(libs.okhttp3.logging.interceptor)
implementation(libs.org.eclipse.paho.client.mqttv3)
implementation(libs.usb.serial.android)
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.koin.android)

View file

@ -24,9 +24,6 @@
-keep class com.google.protobuf.** { *; }
-keep class org.meshtastic.proto.** { *; }
# eclipse.paho.client
-keep class org.eclipse.paho.client.mqttv3.logging.JSR47Logger { *; }
# OkHttp
-dontwarn okhttp3.internal.platform.**
-dontwarn org.conscrypt.**

View file

@ -52,11 +52,6 @@ class NetworkModule {
fun provideNsdManager(application: Application): NsdManager =
application.getSystemService(Context.NSD_SERVICE) as NsdManager
@Single
fun bindMqttRepository(
impl: org.meshtastic.core.network.repository.MQTTRepositoryImpl,
): org.meshtastic.core.network.repository.MQTTRepository = impl
@Single
fun provideImageLoader(
okHttpClient: OkHttpClient,