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 | |