diff --git a/thread/tests/integration/src/android/net/thread/utils/FullThreadDevice.java b/thread/tests/integration/src/android/net/thread/utils/FullThreadDevice.java index 3a31ea5c55..46cf562b38 100644 --- a/thread/tests/integration/src/android/net/thread/utils/FullThreadDevice.java +++ b/thread/tests/integration/src/android/net/thread/utils/FullThreadDevice.java @@ -80,9 +80,10 @@ public final class FullThreadDevice { */ public FullThreadDevice(int nodeId) { try { - mProcess = Runtime.getRuntime().exec("/system/bin/ot-cli-ftd " + nodeId); + mProcess = Runtime.getRuntime().exec("/system/bin/ot-cli-ftd -Leth1 " + nodeId); } catch (IOException e) { - throw new IllegalStateException("Failed to start ot-cli-ftd (id=" + nodeId + ")", e); + throw new IllegalStateException( + "Failed to start ot-cli-ftd -Leth1 (id=" + nodeId + ")", e); } mReader = new BufferedReader(new InputStreamReader(mProcess.getInputStream())); mWriter = new BufferedWriter(new OutputStreamWriter(mProcess.getOutputStream()));