• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CMakeLists.txtD03-Aug-20242.1 KiB5045

README.mdD03-Aug-20241.9 KiB7655

cli.cppD03-Aug-202410.1 KiB330248

cli.hppD03-Aug-20244 KiB11852

logging.cppD03-Aug-20241.8 KiB4210

main.cppD03-Aug-20243.2 KiB10362

README.md

1# OpenThread Factory Tool Reference
2
3## Overview
4
5The ot-fct is used to store the power calibration table into the factory configuration file and show the power related tables.
6
7## Command List
8
9- [powercalibrationtable](#powercalibrationtable)
10- [regiondomaintable](#regiondomaintable)
11- [targetpowertable](#targetpowertable)
12
13#### powercalibrationtable
14
15Show the power calibration table.
16
17```bash
18> powercalibrationtable
19| ChStart |  ChEnd  | ActualPower(0.01dBm) | RawPowerSetting |
20+---------+---------+----------------------+-----------------+
21| 11      | 25      | 1900                 | 112233          |
22| 11      | 25      | 1000                 | 223344          |
23| 26      | 26      | 1500                 | 334455          |
24| 26      | 26      | 700                  | 445566          |
25Done
26```
27
28#### powercalibrationtable add -b \<channelstart\>,\<channelend\> -c \<actualpower\>,\<rawpowersetting\>/... ...
29
30Add power calibration table entry.
31
32- channelstart: Sub-band start channel.
33- channelend: Sub-band end channel.
34- actualpower: The actual power in 0.01 dBm.
35- rawpowersetting: The raw power setting hex string.
36
37```bash
38> powercalibrationtable add -b 11,25 -c 1900,112233/1000,223344  -b 26,26 -c 1500,334455/700,445566
39Done
40```
41
42#### powercalibrationtable clear
43
44Clear the power calibration table.
45
46```bash
47> powercalibrationtable clear
48Done
49```
50
51#### regiondomaintable
52
53Show the region and regulatory domain mapping table.
54
55```bash
56> regiondomaintable
57FCC,AU,CA,CL,CO,IN,MX,PE,TW,US
58ETSI,WW
59Done
60```
61
62#### targetpowertable
63
64Show the target power table.
65
66```bash
67> targetpowertable
68|  Domain  | ChStart |  ChEnd  | TargetPower(0.01dBm) |
69+----------+---------+---------+----------------------+
70| FCC      | 11      | 14      | 1700                 |
71| FCC      | 15      | 24      | 2000                 |
72| FCC      | 25      | 26      | 1600                 |
73| ETSI     | 11      | 26      | 1000                 |
74Done
75```
76