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.

[参考译文] CC2530:设置发射功率

Guru**** 2766465 points

Other Parts Discussed in Thread: CC2592, Z-STACK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/851104/cc2530-setting-transmit-power

器件型号:CC2530
Thread 中讨论的其他器件:CC2592Z-stack

您好!

我想增加发射功率以扩展器件范围。 我的器件是 CC2530PA1、其数据表位于以下链接中。 我应该执行哪些步骤? 我应该在应用中添加任何库吗?

fccid.io/.../Manaual-2922148

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Shahriar、

    无需添加库、您只需定义 HAL_PA_LNA_CC2592并使用 macRadioSetTxPower 设置 TX 输出功率。  所有这些信息都是过去与您共享的。   https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/812151

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、Ryan

    当我在初始化函数中添加"macRadioSetTxPower(16dbm);"时、会出现以下错误:

    ERROR[PE223]:隐式声明的函数"macRadioSetTxPower"

    C:\Texas Instruments\Z-Stack 3.0.2\Projects\Zstack\HomeAutomation\SampleTemperatureSensor\Source\zcl_sampletemperaturesensor .c 290  

    错误[Pe018]:预期为")"

    C:\Texas Instruments\Z-Stack 3.0.2\Projects\Zstack\HomeAutomation\SampleTemperatureSensor\Source\zcl_sampletemperaturesensor .c 290

    如何解决?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    #include "mac_low_level.h"
    //...
    macRadioSetTxPower (16); 

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您应使用"macRadioSetTxPower(16);"而不是"macRadioSetTxPower(16dbm););"。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我的天啊!!!! 我犯了这么一个尴尬的错误... 对不起,谢谢:)