Companion
object Companion
Properties
Functions
Link copied to clipboard
suspend fun connect(host: String = "127.0.0.1", port: Int = DEFAULT_NETSIM_HCI_PORT, connectTimeout: Duration = 3.seconds): TcpHciPacketIo
Connects a new TcpHciPacketIo to a TCP H4 HCI endpoint (such as netsimd --hci-port or Rootcanal).
Link copied to clipboard
Wraps an already-connected Socket as a TcpHciPacketIo.
Link copied to clipboard
suspend fun isReachable(host: String = "127.0.0.1", port: Int = DEFAULT_NETSIM_HCI_PORT, connectTimeout: Duration = 1.seconds): Boolean