RootcanalUtils.RootcanalController
public static class RootcanalUtils.RootcanalController
extends Object
implements AutoCloseable
java.lang.Object |
↳ | com.android.sts.common.RootcanalUtils.RootcanalController |
Zusammenfassung
Öffentliche Methoden
schließen
public void close ()
createHciDevice
public RootcanalUtils.HciDevice createHciDevice ()
Erstellen Sie ein neues HCI-Gerät, indem Sie eine Verbindung zum HCI-Socket von Rootcanal herstellen.
Würfe |
---|
DeviceNotAvailableException | |
IOException | |
InterruptedException | |
sendTestChannelCommand
public String sendTestChannelCommand (String cmd,
String... args)
Senden Sie einen Befehl an den Rootcanal-Testkanal.
Senden Sie den Befehl „help“, um eine Liste der akzeptierten Befehle von Rootcanal zu erhalten.
Parameter |
---|
cmd | String : Befehl zum Senden |
args | String : Argumente für den Befehl |
Kehrt zurück |
---|
String | Antwortzeichenfolge vom Wurzelkanal |
Würfe |
---|
IOException | |
InterruptedException | |