主题:SysConfig 中讨论的其他器件
工具/软件:
您好、
我想知道是否可以在运行时配置 phyTxPower、或者是否需要在启动 Wi-SUN 网络之前设置所需的值。
如果我需要在启动 Wi-SUN 网络之前对其进行配置、应该在哪里进行配置?
谢谢你。
此致、
Eduardo。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:
您好、
我想知道是否可以在运行时配置 phyTxPower、或者是否需要在启动 Wi-SUN 网络之前设置所需的值。
如果我需要在启动 Wi-SUN 网络之前对其进行配置、应该在哪里进行配置?
谢谢你。
此致、
Eduardo。
尊敬的 Eduardo:
建议的过程是在启动 Wi-SUN 堆栈之前通过更改无线电配置中的 TX 功率参数来设置 txPower。 您可以从 SysConfig 跟踪 TX 功率参数在代码中填充的位置 (radio_config.c;wisunfan_config.h)。
此外、您可以使用直接无线电命令随时直接访问无线电内核: https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/docs/proprietary-rf/proprietary-rf-users-guide/rf-core/commands.html#immediate-and-direct-commands
您可以评估使用它们来动态更改 TX 功率是否足够。
此致、
Theo
尊敬的 Theo:
感谢您发送编修。
1.在 application.c 文件中、我看到 cfg_props.phyTxPower = config_mesmit_power、因此我是否可以在调用 mesh_error_t nanostack_wisunInterface_configure (void) 之前修改该值?
2.使用直接无线电命令,我可以在运行时配置 Tx 功率,然后? 参数 txPowerCommand.txPower 是十六进制格式的值(以 dBm 为单位)? 例如、如果我要设置+20dBm、我应该发送 txPowerCommand.txPower=14、还是另一种转换?
此致、
Eduardo。