RootcanalUtils.RootcanalController

public static class RootcanalUtils.RootcanalController
extends Object implements AutoCloseable

java.lang.Object
com.android.sts.common.RootcanalUtils.RootcanalController


Résumé

Méthodes publiques

void close ()
RootcanalUtils.HciDevice createHciDevice ()

Créez un nouveau périphérique HCI en vous connectant au socket HCI de Rootcanal.

String sendTestChannelCommand (String cmd, String... args)

Envoyez une commande au canal de test du canal racine.

Méthodes publiques

fermer

public void close ()

Jetés
IOException

créerHciDevice

public RootcanalUtils.HciDevice createHciDevice ()

Créez un nouveau périphérique HCI en vous connectant au socket HCI de Rootcanal.

Retour
RootcanalUtils.HciDevice Objet HciDevice qui permet l'envoi/réception depuis le port HCI

Jetés
DeviceNotAvailableException
IOException
InterruptedException

sendTestChannelCommand

public String sendTestChannelCommand (String cmd, 
                String... args)

Envoyez une commande au canal de test du canal racine.

Envoyez la commande `help` pour obtenir la liste des commandes acceptées de Rootcanal.

Paramètres
cmd String : commande à envoyer

args String : arguments de la commande

Retour
String Chaîne de réponse du canal radiculaire

Jetés
IOException
InterruptedException