RootcanalUtils.RootcanalController
public static class RootcanalUtils.RootcanalController
extends Object
implements AutoCloseable
java.lang.Object |
↳ | com.android.sts.common.RootcanalUtils.RootcanalController |
概括
公共方法
創建HciDevice
public RootcanalUtils.HciDevice createHciDevice ()
通過連接到 rootcanal 的 HCI 套接字來創建新的 HCI 設備。
投擲 |
---|
DeviceNotAvailableException | |
IOException | |
InterruptedException | |
發送測試通道命令
public String sendTestChannelCommand (String cmd,
String... args)
向根管測試通道發送一個命令。
發送 `help` 命令以獲取來自 Rootcanal 的已接受命令列表。
參數 |
---|
cmd | String : 要發送的命令 |
args | String :命令的參數 |
投擲 |
---|
IOException | |
InterruptedException | |