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