RootcanalUtils.RootcanalController
public static class RootcanalUtils.RootcanalController
extends Object
implements AutoCloseable
java.lang.Object |
↳ | com.android.sts.common.RootcanalUtils.RootcanalController |
Zusammenfassung
Öffentliche Methoden
nah dran
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.
Wirft |
---|
DeviceNotAvailableException | |
IOException | |
InterruptedException | |
sendTestChannelCommand
public String sendTestChannelCommand (String cmd,
String... args)
Senden Sie einen Befehl an den Rootcanal-Testkanal.
Senden Sie den Befehl "Hilfe", um eine Liste der akzeptierten Befehle von Rootcanal zu erhalten.
Parameter |
---|
cmd | String : zu sendender Befehl |
args | String : Argumente für den Befehl |
Kehrt zurück |
---|
String | Antwortzeichenfolge vom Wurzelkanal |
Wirft |
---|
IOException | |
InterruptedException | |