mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
23 lines
No EOL
478 B
Kotlin
23 lines
No EOL
478 B
Kotlin
package com.geeksville.mesh.service
|
|
|
|
import com.geeksville.android.Logging
|
|
|
|
class NopInterface : IRadioInterface {
|
|
companion object : Logging, InterfaceFactory('n') {
|
|
override fun createInterface(
|
|
service: RadioInterfaceService,
|
|
rest: String
|
|
): IRadioInterface = NopInterface()
|
|
|
|
init {
|
|
registerFactory()
|
|
}
|
|
}
|
|
|
|
override fun handleSendToRadio(p: ByteArray) {
|
|
}
|
|
|
|
override fun close() {
|
|
}
|
|
|
|
} |