add WIP TCPInterface

This commit is contained in:
Kevin Hester 2021-03-29 19:47:24 +08:00
parent 1ebc710006
commit 8b70bf1a14
3 changed files with 82 additions and 3 deletions

View file

@ -19,8 +19,8 @@ import com.hoho.android.usbserial.util.SerialInputOutputManager
/**
* An interface that assumes we are talking to a meshtastic device via USB serial
*/
class SerialInterface(service: RadioInterfaceService, address: String) :
StreamInterface(service, address), Logging, SerialInputOutputManager.Listener {
class SerialInterface(service: RadioInterfaceService, private val address: String) :
StreamInterface(service), Logging, SerialInputOutputManager.Listener {
companion object : Logging {
/**