THCI: check in OpenThread icon and testbed xml for manual configuration. (#1043)

This commit is contained in:
Xiao Ma
2016-12-06 09:02:58 -08:00
committed by Jonathan Hui
parent dba0525e5f
commit 28fa90b1ce
4 changed files with 90 additions and 5 deletions
+2
View File
@@ -30,6 +30,8 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
EXTRA_DIST = \
OpenThread.py \
OpenThread.png \
deviceInputFields.xml \
README.md \
$(NULL)
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+9 -5
View File
@@ -8,13 +8,17 @@ device behavior.
## Environment Setup ##
1. Copy the "OpenThread.py" to /GRL/Thread1.1/Thread_Harness/THCI folder.
1. Copy the "OpenThread.png" to /GRL/Thread1.1/MiniWeb/htdocs/images folder.
2. Connect DUT(Device Under Test), sniffer and CC2538DK(or hardware running OpenThread) as reference device to Host PC.
2. Copy the "deviceInputFields.xml" to /GRL/Thread1.1/MiniWeb/htdocs/data folder.
3. Launch Thread Test Harness Software and modify the default configuration if needed then click "Start".
3. Copy the "OpenThread.py" to /GRL/Thread1.1/Thread_Harness/THCI folder.
4. Drag OpenThread: TI CC2538DK reference device to Test Bed list with desired number.
4. Connect DUT(Device Under Test), sniffer and CC2538DK(or hardware running OpenThread) as reference device to Host PC.
5. Select one or multiple test cases to execute.
5. Launch Thread Test Harness Software and modify the default configuration if needed then click "Start".
6. Drag OpenThread: TI CC2538DK reference device to Test Bed list with desired number.
7. Select one or multiple test cases to execute.
+79
View File
@@ -0,0 +1,79 @@
<DEVICE_FIELDS>
<DEVICE name="ARM" thumbnail="arm-board.jpg" description = "ARM: NXP FRDM-K64F with FireFly 6LoWPAN SHIELD">
<ITEM label="Serial Line"
type="text"
forParam="SerialPort"
validation="COM"
hint="eg: COM1">COM
</ITEM>
<ITEM label="Speed"
type="text"
forParam="SerialBaudRate"
validation="baud-rate"
hint="eg: 115200">115200
</ITEM>
</DEVICE>
<DEVICE name="Freescale" thumbnail="USB-KW24.jpg" description = " NXP(Freescale): USB-KW24D512 Dongles">
<ITEM label="Serial Line"
type="text"
forParam="SerialPort"
validation="COM"
hint="eg: COM1">COM
</ITEM>
<ITEM label="Speed"
type="text"
forParam="SerialBaudRate"
validation="baud-rate"
hint="eg: 115200">115200
</ITEM>
</DEVICE>
<!--DEVICE name="SiLabs_IP" thumbnail="silabs-board.bmp" description = "Ember Debug Adapter (ISA3) + EM35x Interface board + MeshConnect ZICM3588SP0-1" THCI="SiLabs">
<ITEM label="IP addr"
type="text"
forParam="TelnetIP"
validation="ipv4"
hint="eg: 192.168.4.195">
</ITEM>
<ITEM label="PORT"
type="text"
forParam="TelnetPort"
validation="port"
hint="eg: 4901">4901
</ITEM>
<ITEM type="hidden" label = ""
forParam="Param5">ip
</ITEM>
</DEVICE-->
<DEVICE name="SiLabs" thumbnail="ZM357S-USB.jpg" description = "SiLabs: EM358x USB Stick" THCI="SiLabs">
<ITEM label="Serial Line"
type="text"
forParam="SerialPort"
validation="COM"
hint="eg: COM1">COM
</ITEM>
<ITEM label="Speed"
type="text"
forParam="SerialBaudRate"
validation="baud-rate"
hint="eg: 115200">115200
</ITEM>
<ITEM label= "" type="hidden"
forParam="Param5">usb
</ITEM>
</DEVICE>
<DEVICE name="OpenThread" thumbnail="OpenThread.png" description = "OpenThread: TI CC2538DK" THCI="OpenThread">
<ITEM label="Serial Line"
type="text"
forParam="SerialPort"
validation="COM"
hint="eg: COM1">COM
</ITEM>
<ITEM label="Speed"
type="text"
forParam="SerialBaudRate"
validation="baud-rate"
hint="eg: 115200">115200
</ITEM>
</DEVICE>
</DEVICE_FIELDS>