tree: 94098723560ab77693f2ab283fb1bf054bf10a9f [path history] [tgz]
  1. cli.cpp
  2. cli.hpp
  3. CMakeLists.txt
  4. logging.cpp
  5. main.cpp
  6. README.md
tools/ot-fct/README.md

OpenThread Factory Tool Reference

Overview

The ot-fct is used to store the power calibration table into the factory configuration file and show the power related tables.

Command List

powercalibrationtable

Show the power calibration table.

> powercalibrationtable
| ChStart |  ChEnd  | ActualPower(0.01dBm) | RawPowerSetting |
+---------+---------+----------------------+-----------------+
| 11      | 25      | 1900                 | 112233          |
| 11      | 25      | 1000                 | 223344          |
| 26      | 26      | 1500                 | 334455          |
| 26      | 26      | 700                  | 445566          |
Done

powercalibrationtable add -b <channelstart>,<channelend> -c <actualpower>,<rawpowersetting>/... ...

Add power calibration table entry.

  • channelstart: Sub-band start channel.
  • channelend: Sub-band end channel.
  • actualpower: The actual power in 0.01 dBm.
  • rawpowersetting: The raw power setting hex string.
> powercalibrationtable add -b 11,25 -c 1900,112233/1000,223344  -b 26,26 -c 1500,334455/700,445566
Done

powercalibrationtable clear

Clear the power calibration table.

> powercalibrationtable clear
Done

regiondomaintable

Show the region and regulatory domain mapping table.

> regiondomaintable
FCC,AU,CA,CL,CO,IN,MX,PE,TW,US
ETSI,WW
Done

targetpowertable

Show the target power table.

> targetpowertable
|  Domain  | ChStart |  ChEnd  | TargetPower(0.01dBm) |
+----------+---------+---------+----------------------+
| FCC      | 11      | 14      | 1700                 |
| FCC      | 15      | 24      | 2000                 |
| FCC      | 25      | 26      | 1600                 |
| ETSI     | 11      | 26      | 1000                 |
Done