You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
provide THCI files for all Thread versions, based on GRL golden
devices THCI and update to Python 3
Signed-off-by: Maciej Baczmanski <[email protected]>
Copy file name to clipboardExpand all lines: doc/nrf/protocols/thread/certification.rst
+7-37Lines changed: 7 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,47 +93,17 @@ Complete the following steps to prepare for the certification tests:
93
93
94
94
#. Prepare Thread Test Harness.
95
95
96
-
a. Copy the provided :file:`ncs/modules/lib/openthread/tools/harness-thci/OpenThread.py` file into :file:`C:\\GRL\\Thread1.2\\Thread_Harness\\THCI\\nRF_Connect_SDK.py`.
96
+
a. Copy all THCI files provided in the :file:`ncs/nrf/samples/openthread/cli/harness-thci/` directory into :file:`C:\\GRL\\Thread1.2\\Thread_Harness\\THCI\\`.
97
97
98
-
b. Copy the provided :file:`ncs/nrf/samples/openthread/cli/harness-thci-1-3/nRF_Connect_SDK_1_3.py` file into :file:`C:\\GRL\\Thread1.2\\Thread_Harness\\THCI\\nRF_Connect_SDK_1_3.py`.
99
-
100
-
c. Copy images of your choice to :file:`C:\\GRL\\Thread1.2\\Web\\images\\nRF_Connect_SDK.jpg` and :file:`C:\\GRL\\Thread1.2\\Web\\images\\nRF_Connect_SDK_1_3.jpg`.
98
+
b. Copy images of your choice to :file:`C:\\GRL\\Thread1.2\\Web\\images\\nRF_Connect_SDK.jpg` and :file:`C:\\GRL\\Thread1.2\\Web\\images\\nRF_Connect_SDK_1_3.jpg`.
101
99
102
100
You can use the same image for both.
103
101
104
-
d. Edit :file:`C:\\GRL\\Thread1.2\\Thread_Harness\\THCI\\nRF_Connect_SDK.py` as follows:
105
-
106
-
.. code-block:: python
107
-
108
-
>> Thread Host Controller Interface
109
-
>> Device : OpenThread THCI
110
-
>> Class : OpenThread
111
-
112
-
to
113
-
114
-
.. code-block:: python
115
-
116
-
>> Thread Host Controller Interface
117
-
>> Device : nRF_Connect_SDK THCI
118
-
>> Class : nRF_Connect_SDK
119
-
120
-
and
121
-
122
-
.. code-block:: python
123
-
124
-
classOpenThread(OpenThreadTHCI, IThci):
125
-
126
-
to
127
-
128
-
.. code-block:: python
129
-
130
-
classnRF_Connect_SDK(OpenThreadTHCI, IThci):
131
-
132
-
e. Edit :file:`C:\\GRL\\Thread1.2\\Web\\data\\deviceInputFields.xml` and prepend the following code:
102
+
c. Edit :file:`C:\\GRL\\Thread1.2\\Web\\data\\deviceInputFields.xml` and prepend the following code:
0 commit comments