xref: /aosp_15_r20/external/openthread/tools/harness-sniffer/README.md (revision cfb92d1480a9e65faed56933e9c12405f45898b4)
1*cfb92d14SAndroid Build Coastguard Worker# OpenThread Sniffer Integration with Thread Test Harness
2*cfb92d14SAndroid Build Coastguard Worker
3*cfb92d14SAndroid Build Coastguard WorkerAfter following the steps below, you will be able to run Test Harness with OpenThread sniffer.
4*cfb92d14SAndroid Build Coastguard Worker
5*cfb92d14SAndroid Build Coastguard Worker1. require python3 is installed on windows and in the system environment path.
6*cfb92d14SAndroid Build Coastguard Worker2. require TestHarness is updated on `ReportEngine.pyd`
7*cfb92d14SAndroid Build Coastguard Worker
8*cfb92d14SAndroid Build Coastguard Worker## Setup
9*cfb92d14SAndroid Build Coastguard Worker
10*cfb92d14SAndroid Build Coastguard Worker1. install pyspinel (for python3 only)
11*cfb92d14SAndroid Build Coastguard Worker   ```
12*cfb92d14SAndroid Build Coastguard Worker   git clone https://github.com/openthread/pyspinel.git
13*cfb92d14SAndroid Build Coastguard Worker   cd <path-to-pyspinel>
14*cfb92d14SAndroid Build Coastguard Worker   python setup.py install
15*cfb92d14SAndroid Build Coastguard Worker   ```
16*cfb92d14SAndroid Build Coastguard Worker2. Copy "OT_Sniffer.py" to `C:\GRL\Thread1.1\Thread_Harness\Sniffer`.
17