mirror of
https://github.com/espressif/openthread.git
synced 2026-08-30 13:59:54 +00:00
[thci] add configurable device connection type for OpenThread_WpanCtl (#4364)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -71,7 +71,14 @@ in the ‘Configure Test Bed’ Page of Test Harness. The configuration is as fo
|
||||
|
||||
4. Copy "OpenThread_WpanCtl.png" to `C:\GRL\Thread1.1\Web\images`.
|
||||
|
||||
5. Copy "deviceInputFields.xml" to `C:\GRL\Thread1.1\Web\data`.
|
||||
5. Modify the Device section "forParam" values referring to the following indication then
|
||||
Copy "deviceInputFields.xml" to `C:\GRL\Thread1.1\Web\data`.
|
||||
TelnetIP : device's IP address
|
||||
Param5 : 'ip' for SSH login
|
||||
Param6 : SSH username
|
||||
Param7 : SSH password
|
||||
Param8 : comma separated CLI prompt, Wpan command prefix, Wpan interface
|
||||
Param9 : comma separated device's setting commands before test
|
||||
|
||||
6. Copy "OpenThread_WpanCtl.py" to `C:\GRL\Thread1.1\Thread_Harness\THCI`.
|
||||
|
||||
|
||||
@@ -89,6 +89,10 @@
|
||||
validation="baud-rate"
|
||||
hint="eg: 115200">115200
|
||||
</ITEM>
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param9">stty cols 256
|
||||
</ITEM>
|
||||
</DEVICE>
|
||||
<DEVICE name="OpenThread_WpanCtl_SSH" thumbnail="OpenThread_WpanCtl.png" description = "OpenThread_WpanCtl: Wpantund + NCP (SSH)" THCI="OpenThread_WpanCtl">
|
||||
<ITEM label="IP addr"
|
||||
@@ -103,8 +107,25 @@
|
||||
validation="port"
|
||||
hint="eg: 4901">22
|
||||
</ITEM>
|
||||
<ITEM type="hidden" label = ""
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param5">ip
|
||||
</ITEM>
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param6">pi
|
||||
</ITEM>
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param7">raspberry
|
||||
</ITEM>
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param8">pi@raspberrypi, sudo wpanctl -I wpan0, wpan0
|
||||
</ITEM>
|
||||
<ITEM type="hidden"
|
||||
label = ""
|
||||
forParam="Param9">stty cols 256
|
||||
</ITEM>
|
||||
</DEVICE>
|
||||
</DEVICE_FIELDS>
|
||||
|
||||
Reference in New Issue
Block a user